TranslationTextOutput interface
Translation result
Properties
| alignment | Alignment information. |
| sent |
Sentence boundaries in the input and output texts. |
| text | A string giving the translated text. |
| to | A string representing the language code of the target language. |
| transliteration | An object giving the translated text in the script specified by the toScript parameter. |
Property Details
alignment
Alignment information.
alignment?: TranslatedTextAlignmentOutput
Property Value
sentLen
Sentence boundaries in the input and output texts.
sentLen?: SentenceBoundariesOutput
Property Value
text
A string giving the translated text.
text: string
Property Value
string
to
A string representing the language code of the target language.
to: string
Property Value
string
transliteration
An object giving the translated text in the script specified by the toScript parameter.
transliteration?: TransliteratedTextOutput