Skip to content
HALOWERK

Text Tools

tmx source segment lookup

Translation memory lookup returns distinct translations matching one complete source segment. Use it when an agent needs an exact translation-memory match.

POST https://text.halowerk.com/v1/tmx-source-segment-lookup

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
textstringYes
fromstringYes
tostringYes
querystringYes
Show full input schema
{
  "type": "object",
  "properties": {
    "text": {
      "type": "string",
      "maxLength": 30000,
      "minLength": 1
    },
    "from": {
      "type": "string",
      "maxLength": 35,
      "minLength": 1
    },
    "to": {
      "type": "string",
      "maxLength": 35,
      "minLength": 1
    },
    "query": {
      "type": "string",
      "maxLength": 2000,
      "minLength": 1
    }
  },
  "required": [
    "text",
    "from",
    "to",
    "query"
  ],
  "additionalProperties": false
}

Open original schema

Published input example

{
  "text": "<tmx version=\"1.4\"><header creationtool=\"HALOWERK\" creationtoolversion=\"1\" segtype=\"sentence\" o-tmf=\"TMX\" adminlang=\"en\" srclang=\"en\" datatype=\"plaintext\"/><body><tu><tuv xml:lang=\"en\"><seg>Open timetable</seg></tuv><tuv xml:lang=\"de\"><seg>Fahrplan öffnen</seg></tuv></tu></body></tmx>",
  "from": "en",
  "to": "de",
  "query": "Open timetable"
}

Result & documentation

Machine-readable documentation of this hub

Source of this page: the published HALOWERK catalog. Updated: 2026-11-19 UTC.

More endpoints in this hub

All endpoints in this hub →