Skip to content

/AWS1/CL_TNSENTITY

Contains entities identified as personally identifiable information (PII) in your transcription output, along with various associated attributes. Examples include category, confidence score, type, stability score, 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 utterance that was identified as PII 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 utterance that was identified as PII in seconds, with millisecond precision (e.g., 1.056)

iv_category TYPE /AWS1/TNSSTRING /AWS1/TNSSTRING

The category of information identified. The only category is PII.

iv_type TYPE /AWS1/TNSSTRING /AWS1/TNSSTRING

The type of PII identified. For example, NAME or CREDIT_DEBIT_NUMBER.

iv_content TYPE /AWS1/TNSSTRING /AWS1/TNSSTRING

The word or words identified as PII.

iv_confidence TYPE /AWS1/RT_DOUBLE_AS_STRING /AWS1/RT_DOUBLE_AS_STRING

The confidence score associated with the identified PII entity in your audio.

Confidence scores are values between 0 and 1. A larger value indicates a higher probability that the identified entity correctly matches the entity spoken in your media.


Queryable Attributes

StartTime

The start time of the utterance that was identified as PII 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 utterance that was identified as PII 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

Category

The category of information identified. The only category is PII.

Accessible with the following methods

Method Description
GET_CATEGORY() Getter for CATEGORY, with configurable default
ASK_CATEGORY() Getter for CATEGORY w/ exceptions if field has no value
HAS_CATEGORY() Determine if CATEGORY has a value

Type

The type of PII identified. For example, NAME or CREDIT_DEBIT_NUMBER.

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 words identified as PII.

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 the identified PII entity in your audio.

Confidence scores are values between 0 and 1. A larger value indicates a higher probability that the identified entity correctly matches the entity 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

Public Local Types In This Class

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

TT_ENTITYLIST

TYPES TT_ENTITYLIST TYPE STANDARD TABLE OF REF TO /AWS1/CL_TNSENTITY WITH DEFAULT KEY
.