/AWS1/CL_TNSLANGUAGEWITHSCORE¶
The language code that represents the language identified in your audio, including the associated
confidence score. If you enabled channel identification in your request and each channel contained a
different language, you will have more than one LanguageWithScore result.
CONSTRUCTOR¶
IMPORTING¶
Optional arguments:¶
iv_languagecode TYPE /AWS1/TNSLANGUAGECODE /AWS1/TNSLANGUAGECODE¶
The language code of the identified language.
iv_score TYPE /AWS1/RT_DOUBLE_AS_STRING /AWS1/RT_DOUBLE_AS_STRING¶
The confidence score associated with the identified language code. Confidence scores are values between zero and one; larger values indicate a higher confidence in the identified language.
Queryable Attributes¶
LanguageCode¶
The language code of the identified language.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_LANGUAGECODE() |
Getter for LANGUAGECODE, with configurable default |
ASK_LANGUAGECODE() |
Getter for LANGUAGECODE w/ exceptions if field has no value |
HAS_LANGUAGECODE() |
Determine if LANGUAGECODE has a value |
Score¶
The confidence score associated with the identified language code. Confidence scores are values between zero and one; larger values indicate a higher confidence in the identified language.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_SCORE() |
Getter for SCORE |
ASK_SCORE() |
Getter for SCORE w/ exceptions if field has no value |
STR_SCORE() |
String format for SCORE |
Public Local Types In This Class¶
Internal table types, representing arrays and maps of this class, are defined as local types:
TT_LANGUAGEIDENTIFICATION¶
TYPES TT_LANGUAGEIDENTIFICATION TYPE STANDARD TABLE OF REF TO /AWS1/CL_TNSLANGUAGEWITHSCORE WITH DEFAULT KEY
.