Skip to content

/AWS1/CL_TNSMEDICALITEM

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, in seconds, of the transcribed item.

iv_endtime TYPE /AWS1/RT_DOUBLE_AS_STRING /AWS1/RT_DOUBLE_AS_STRING

The end time, in seconds, of the transcribed item.

iv_type TYPE /AWS1/TNSITEMTYPE /AWS1/TNSITEMTYPE

The type of item identified. Options are: PRONUNCIATION (spoken words) and PUNCTUATION.

iv_content TYPE /AWS1/TNSSTRING /AWS1/TNSSTRING

The word or punctuation that was transcribed.

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_speaker TYPE /AWS1/TNSSTRING /AWS1/TNSSTRING

If speaker partitioning is enabled, Speaker labels the speaker of the specified item.


Queryable Attributes

StartTime

The start time, in seconds, of the transcribed item.

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 transcribed item.

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) and PUNCTUATION.

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

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

Speaker

If speaker partitioning is enabled, Speaker labels 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

Public Local Types In This Class

Internal table types, representing arrays and maps of this class, are defined as local types:

TT_MEDICALITEMLIST

TYPES TT_MEDICALITEMLIST TYPE STANDARD TABLE OF REF TO /AWS1/CL_TNSMEDICALITEM WITH DEFAULT KEY
.