Skip to content
HALOWERK

Text Tools

tmx numeric token retention

Translation memory numerals return units where the multiset of digit runs changes in translation. Use it when an agent needs to inspect changed numeric tokens.

POST https://text.halowerk.com/v1/tmx-numeric-token-retention

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
textstringYes
fromstringYes
tostringYes
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
    }
  },
  "required": [
    "text",
    "from",
    "to"
  ],
  "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 1</seg></tuv><tuv xml:lang=\"de\"><seg>Fahrplan öffnen 2</seg></tuv></tu></body></tmx>",
  "from": "en",
  "to": "de"
}

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 →