Skip to content

/AWS1/CL_TEXANALYZEIDDETECTS

Used to contain the information detected by an AnalyzeID operation.

CONSTRUCTOR

IMPORTING

Required arguments:

iv_text TYPE /AWS1/TEXSTRING /AWS1/TEXSTRING

Text of either the normalized field or value associated with it.

Optional arguments:

io_normalizedvalue TYPE REF TO /AWS1/CL_TEXNORMALIZEDVALUE /AWS1/CL_TEXNORMALIZEDVALUE

Only returned for dates, returns the type of value detected and the date written in a more machine readable way.

iv_confidence TYPE /AWS1/RT_FLOAT_AS_STRING /AWS1/RT_FLOAT_AS_STRING

The confidence score of the detected text.


Queryable Attributes

Text

Text of either the normalized field or value associated with it.

Accessible with the following methods

Method Description
GET_TEXT() Getter for TEXT, with configurable default
ASK_TEXT() Getter for TEXT w/ exceptions if field has no value
HAS_TEXT() Determine if TEXT has a value

NormalizedValue

Only returned for dates, returns the type of value detected and the date written in a more machine readable way.

Accessible with the following methods

Method Description
GET_NORMALIZEDVALUE() Getter for NORMALIZEDVALUE

Confidence

The confidence score of the detected text.

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