Skip to content

/AWS1/CL_LM2SPEECHRECOGSTGS

Settings that control how Amazon Lex processes and recognizes speech input from users.

CONSTRUCTOR

IMPORTING

Optional arguments:

iv_speechmodelpreference TYPE /AWS1/LM2SPEECHMODELPREFERENCE /AWS1/LM2SPEECHMODELPREFERENCE

The speech-to-text model to use.

io_speechmodelconfig TYPE REF TO /AWS1/CL_LM2SPEECHMODELCONFIG /AWS1/CL_LM2SPEECHMODELCONFIG

Configuration settings for the selected speech-to-text model.


Queryable Attributes

speechModelPreference

The speech-to-text model to use.

Accessible with the following methods

Method Description
GET_SPEECHMODELPREFERENCE() Getter for SPEECHMODELPREFERENCE, with configurable default
ASK_SPEECHMODELPREFERENCE() Getter for SPEECHMODELPREFERENCE w/ exceptions if field has
HAS_SPEECHMODELPREFERENCE() Determine if SPEECHMODELPREFERENCE has a value

speechModelConfig

Configuration settings for the selected speech-to-text model.

Accessible with the following methods

Method Description
GET_SPEECHMODELCONFIG() Getter for SPEECHMODELCONFIG