Skip to main content

Get suggestions from translation memory

POST 

/v2/projects/:projectId/suggest/translation-memory

Suggests machine translations from translation memory. The result is always sorted by similarity, so sorting is not supported.

Request

Path Parameters

    projectId int64required

Query Parameters

    page integer

    Default value: 0

    Zero-based page index (0..N)

    size integer

    Possible values: >= 1

    Default value: 20

    The size of the page to be returned

    sort string[]

    Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported.

Body

required
    keyId int64

    Key Id to get results for. Use when key is stored already.

    targetLanguageId int64required
    baseText string

    Text value of base translation. Useful, when base translation is not stored yet.

    isPlural boolean

    Whether base text is plural. This value is ignored if baseText is null.

    services string[]

    Possible values: [GOOGLE, AWS, DEEPL, AZURE, BAIDU, TOLGEE]

    List of services to use. If null, then all enabled services are used.

    plural boolean

Responses

OK

Schema
    _embedded object
    translationMemoryItems object[]
  • Array [
  • targetText stringrequired
    baseText stringrequired
    keyName stringrequired
    similarity floatrequired
  • ]
  • page object
    size int64
    totalElements int64
    totalPages int64
    number int64
Loading...