/AWS1/CL_TNSMEDICALRESULT¶
The Result
associated with a
.
Contains a set of transcription results from one or more audio segments, along with additional information per your request parameters. This can include information relating to alternative transcriptions, channel identification, partial result stabilization, language identification, and other transcription-related data.
CONSTRUCTOR
¶
IMPORTING¶
Optional arguments:¶
iv_resultid
TYPE /AWS1/TNSSTRING
/AWS1/TNSSTRING
¶
Provides a unique identifier for the
Result
.
iv_starttime
TYPE /AWS1/RT_DOUBLE_AS_STRING
/AWS1/RT_DOUBLE_AS_STRING
¶
The start time, in seconds, of the
Result
.
iv_endtime
TYPE /AWS1/RT_DOUBLE_AS_STRING
/AWS1/RT_DOUBLE_AS_STRING
¶
The end time, in seconds, of the
Result
.
iv_ispartial
TYPE /AWS1/TNSBOOLEAN
/AWS1/TNSBOOLEAN
¶
Indicates if the segment is complete.
If
IsPartial
istrue
, the segment is not complete. IfIsPartial
isfalse
, the segment is complete.
it_alternatives
TYPE /AWS1/CL_TNSMEDICALALTERNATIVE=>TT_MEDICALALTERNATIVELIST
TT_MEDICALALTERNATIVELIST
¶
A list of possible alternative transcriptions for the input audio. Each alternative may contain one or more of
Items
,Entities
, orTranscript
.
iv_channelid
TYPE /AWS1/TNSSTRING
/AWS1/TNSSTRING
¶
Indicates the channel identified for the
Result
.
Queryable Attributes¶
ResultId¶
Provides a unique identifier for the
Result
.
Accessible with the following methods¶
Method | Description |
---|---|
GET_RESULTID() |
Getter for RESULTID, with configurable default |
ASK_RESULTID() |
Getter for RESULTID w/ exceptions if field has no value |
HAS_RESULTID() |
Determine if RESULTID has a value |
StartTime¶
The start time, in seconds, of the
Result
.
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, in seconds, of the
Result
.
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 |
IsPartial¶
Indicates if the segment is complete.
If
IsPartial
istrue
, the segment is not complete. IfIsPartial
isfalse
, the segment is complete.
Accessible with the following methods¶
Method | Description |
---|---|
GET_ISPARTIAL() |
Getter for ISPARTIAL |
Alternatives¶
A list of possible alternative transcriptions for the input audio. Each alternative may contain one or more of
Items
,Entities
, orTranscript
.
Accessible with the following methods¶
Method | Description |
---|---|
GET_ALTERNATIVES() |
Getter for ALTERNATIVES, with configurable default |
ASK_ALTERNATIVES() |
Getter for ALTERNATIVES w/ exceptions if field has no value |
HAS_ALTERNATIVES() |
Determine if ALTERNATIVES has a value |
ChannelId¶
Indicates the channel identified for the
Result
.
Accessible with the following methods¶
Method | Description |
---|---|
GET_CHANNELID() |
Getter for CHANNELID, with configurable default |
ASK_CHANNELID() |
Getter for CHANNELID w/ exceptions if field has no value |
HAS_CHANNELID() |
Determine if CHANNELID 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_MEDICALRESULTLIST
¶
TYPES TT_MEDICALRESULTLIST TYPE STANDARD TABLE OF REF TO /AWS1/CL_TNSMEDICALRESULT WITH DEFAULT KEY
.