Translation Memory

Concordance search in project TMs

Required scopes: tm (Read and Write).

post/projects/{projectId}/tms/concordance

Request

Path parameters

projectIdinteger required

Project Identifier. Get via List Projects

Request body

sourceLanguageIdstring required

Source Language Identifier. Get via List Supported Languages

targetLanguageIdstring required

Target Language Identifier. Get via List Supported Languages

autoSubstitutionboolean required

Improves TM suggestions

minRelevantinteger required

Show TM suggestions with specified minimum match

expressionsstring[] required

Expressions to search

Note: Can't be used with expression in same request

expressionstring

Expression to search

Note: Can't be used with expressions in same request

Example request

{
  "sourceLanguageId": "en",
  "targetLanguageId": "de",
  "minRelevant": 60,
  "expressions": [
    "Welcome!",
    "Save as...",
    "View",
    "About..."
  ],
  "expression": "Welcome!"
}

Response

Concordance Result Collection

Example response

{
  "data": [
    {
      "data": {
        "tm": {
          "id": 4,
          "name": "Knowledge Base's TM"
        },
        "recordId": 34,
        "source": "Welcome!",
        "target": "Ласкаво просимо!",
        "relevant": 100,
        "substituted": "62→100",
        "updatedAt": "2022-09-28T12:29:34+00:00"
      }
    }
  ],
  "pagination": {
    "limit": 25
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.