/AWS1/CL_TNSITEM¶
A word, phrase, or punctuation mark in your transcription output, along with various associated attributes, such as confidence score, type, and start and end times.
CONSTRUCTOR¶
IMPORTING¶
Optional arguments:¶
iv_starttime TYPE /AWS1/RT_DOUBLE_AS_STRING /AWS1/RT_DOUBLE_AS_STRING¶
The start time of the transcribed item in seconds, with millisecond precision (e.g., 1.056)
iv_endtime TYPE /AWS1/RT_DOUBLE_AS_STRING /AWS1/RT_DOUBLE_AS_STRING¶
The end time of the transcribed item in seconds, with millisecond precision (e.g., 1.056)
iv_type TYPE /AWS1/TNSITEMTYPE /AWS1/TNSITEMTYPE¶
The type of item identified. Options are:
PRONUNCIATION(spoken words) andPUNCTUATION.
iv_content TYPE /AWS1/TNSSTRING /AWS1/TNSSTRING¶
The word or punctuation that was transcribed.
iv_vocabularyfiltermatch TYPE /AWS1/TNSBOOLEAN /AWS1/TNSBOOLEAN¶
Indicates whether the specified item matches a word in the vocabulary filter included in your request. If
true, there is a vocabulary filter match.
iv_speaker TYPE /AWS1/TNSSTRING /AWS1/TNSSTRING¶
If speaker partitioning is enabled,
Speakerlabels the speaker of the specified item.
iv_confidence TYPE /AWS1/RT_DOUBLE_AS_STRING /AWS1/RT_DOUBLE_AS_STRING¶
The confidence score associated with a word or phrase in your transcript.
Confidence scores are values between 0 and 1. A larger value indicates a higher probability that the identified item correctly matches the item spoken in your media.
iv_stable TYPE /AWS1/TNSSTABLE /AWS1/TNSSTABLE¶
If partial result stabilization is enabled,
Stableindicates whether the specified item is stable (true) or if it may change when the segment is complete (false).
Queryable Attributes¶
StartTime¶
The start time of the transcribed item in seconds, with millisecond precision (e.g., 1.056)
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_STARTTIME() |
Getter for STARTTIME |
ASK_STARTTIME() |
Getter for STARTTIME w/ exceptions if field has no value |
STR_STARTTIME() |
String format for STARTTIME |
EndTime¶
The end time of the transcribed item in seconds, with millisecond precision (e.g., 1.056)
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_ENDTIME() |
Getter for ENDTIME |
ASK_ENDTIME() |
Getter for ENDTIME w/ exceptions if field has no value |
STR_ENDTIME() |
String format for ENDTIME |
Type¶
The type of item identified. Options are:
PRONUNCIATION(spoken words) andPUNCTUATION.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_TYPE() |
Getter for TYPE, with configurable default |
ASK_TYPE() |
Getter for TYPE w/ exceptions if field has no value |
HAS_TYPE() |
Determine if TYPE has a value |
Content¶
The word or punctuation that was transcribed.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_CONTENT() |
Getter for CONTENT, with configurable default |
ASK_CONTENT() |
Getter for CONTENT w/ exceptions if field has no value |
HAS_CONTENT() |
Determine if CONTENT has a value |
VocabularyFilterMatch¶
Indicates whether the specified item matches a word in the vocabulary filter included in your request. If
true, there is a vocabulary filter match.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_VOCABULARYFILTERMATCH() |
Getter for VOCABULARYFILTERMATCH |
Speaker¶
If speaker partitioning is enabled,
Speakerlabels the speaker of the specified item.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_SPEAKER() |
Getter for SPEAKER, with configurable default |
ASK_SPEAKER() |
Getter for SPEAKER w/ exceptions if field has no value |
HAS_SPEAKER() |
Determine if SPEAKER has a value |
Confidence¶
The confidence score associated with a word or phrase in your transcript.
Confidence scores are values between 0 and 1. A larger value indicates a higher probability that the identified item correctly matches the item spoken in your media.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_CONFIDENCE() |
Getter for CONFIDENCE, with configurable default |
ASK_CONFIDENCE() |
Getter for CONFIDENCE w/ exceptions if field has no value |
STR_CONFIDENCE() |
String format for CONFIDENCE, with configurable default |
HAS_CONFIDENCE() |
Determine if CONFIDENCE has a value |
Stable¶
If partial result stabilization is enabled,
Stableindicates whether the specified item is stable (true) or if it may change when the segment is complete (false).
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_STABLE() |
Getter for STABLE, with configurable default |
ASK_STABLE() |
Getter for STABLE w/ exceptions if field has no value |
HAS_STABLE() |
Determine if STABLE has a value |
Public Local Types In This Class¶
Internal table types, representing arrays and maps of this class, are defined as local types:
TT_ITEMLIST¶
TYPES TT_ITEMLIST TYPE STANDARD TABLE OF REF TO /AWS1/CL_TNSITEM WITH DEFAULT KEY
.