/AWS1/CL_XL8TRANSLATEDOCRSP¶
TranslateDocumentResponse
CONSTRUCTOR¶
IMPORTING¶
Required arguments:¶
io_translateddocument TYPE REF TO /AWS1/CL_XL8TRANSLATEDDOCUMENT /AWS1/CL_XL8TRANSLATEDDOCUMENT¶
The document containing the translated content. The document format matches the source document format.
iv_sourcelanguagecode TYPE /AWS1/XL8LANGUAGECODESTRING /AWS1/XL8LANGUAGECODESTRING¶
The language code of the source document.
iv_targetlanguagecode TYPE /AWS1/XL8LANGUAGECODESTRING /AWS1/XL8LANGUAGECODESTRING¶
The language code of the translated document.
Optional arguments:¶
it_appliedterminologies TYPE /AWS1/CL_XL8APPLIEDTERMINOLOGY=>TT_APPLIEDTERMINOLOGYLIST TT_APPLIEDTERMINOLOGYLIST¶
The names of the custom terminologies applied to the input text by Amazon Translate to produce the translated text document.
io_appliedsettings TYPE REF TO /AWS1/CL_XL8XLATIONSETTINGS /AWS1/CL_XL8XLATIONSETTINGS¶
Settings to configure your translation output. You can configure the following options:
Brevity: reduces the length of the translation output for most translations. Available for
TranslateTextonly.Formality: sets the formality level of the translation output.
Profanity: masks profane words and phrases in the translation output.
Queryable Attributes¶
TranslatedDocument¶
The document containing the translated content. The document format matches the source document format.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_TRANSLATEDDOCUMENT() |
Getter for TRANSLATEDDOCUMENT |
SourceLanguageCode¶
The language code of the source document.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_SOURCELANGUAGECODE() |
Getter for SOURCELANGUAGECODE, with configurable default |
ASK_SOURCELANGUAGECODE() |
Getter for SOURCELANGUAGECODE w/ exceptions if field has no |
HAS_SOURCELANGUAGECODE() |
Determine if SOURCELANGUAGECODE has a value |
TargetLanguageCode¶
The language code of the translated document.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_TARGETLANGUAGECODE() |
Getter for TARGETLANGUAGECODE, with configurable default |
ASK_TARGETLANGUAGECODE() |
Getter for TARGETLANGUAGECODE w/ exceptions if field has no |
HAS_TARGETLANGUAGECODE() |
Determine if TARGETLANGUAGECODE has a value |
AppliedTerminologies¶
The names of the custom terminologies applied to the input text by Amazon Translate to produce the translated text document.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_APPLIEDTERMINOLOGIES() |
Getter for APPLIEDTERMINOLOGIES, with configurable default |
ASK_APPLIEDTERMINOLOGIES() |
Getter for APPLIEDTERMINOLOGIES w/ exceptions if field has n |
HAS_APPLIEDTERMINOLOGIES() |
Determine if APPLIEDTERMINOLOGIES has a value |
AppliedSettings¶
Settings to configure your translation output. You can configure the following options:
Brevity: reduces the length of the translation output for most translations. Available for
TranslateTextonly.Formality: sets the formality level of the translation output.
Profanity: masks profane words and phrases in the translation output.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_APPLIEDSETTINGS() |
Getter for APPLIEDSETTINGS |