Translate a source string.
Setting the rich parameter to true will change the response format
to include additional information about each translation including a
model score, word alignments, and formatting information. The rich
format can be seen in the example response on this page.
By default, this endpoint also returns translation memory (TM) fuzzy matches, along with associated scores. Fuzzy matches always appear ahead of machine translation output in the response.
The maximum source length is 5,000 characters.
Usage charges apply to this endpoint for production API keys.
A unique Memory identifier.
A unique Segment identifier.
A source hash code.
Return top n translations (deprecated).
A target prefix
Returns rich translation information (e.g., with word alignments).
Include translation memory fuzzy matches.
Project tags. Projects tags in source to target if set to true.
Contains ICU data. If true then tags in the source following the ICU standard will be parsed and retained.
A TranslationList object.
An ranked list of translations and associated metadata.
The untokenized source segment. Punctuation has not been separated from words.
"Authentication not required."
The tokenized source segment. Punctuation has been separated from words.
"Authentication not required ."
A format string that indicates, for each word, if the word should be preceded by a space.
["", " ", " ", "", ""]A list of Translation objects.