Skip to content

/AWS1/CL_PLYLEXICONATTRIBUTES

Contains metadata describing the lexicon such as the number of lexemes, language code, and so on. For more information, see Managing Lexicons.

CONSTRUCTOR

IMPORTING

Optional arguments:

iv_alphabet TYPE /AWS1/PLYALPHABET /AWS1/PLYALPHABET

Phonetic alphabet used in the lexicon. Valid values are ipa and x-sampa.

iv_languagecode TYPE /AWS1/PLYLANGUAGECODE /AWS1/PLYLANGUAGECODE

Language code that the lexicon applies to. A lexicon with a language code such as "en" would be applied to all English languages (en-GB, en-US, en-AUS, en-WLS, and so on.

iv_lastmodified TYPE /AWS1/PLYLASTMODIFIED /AWS1/PLYLASTMODIFIED

Date lexicon was last modified (a timestamp value).

iv_lexiconarn TYPE /AWS1/PLYLEXICONARN /AWS1/PLYLEXICONARN

Amazon Resource Name (ARN) of the lexicon.

iv_lexemescount TYPE /AWS1/PLYLEXEMESCOUNT /AWS1/PLYLEXEMESCOUNT

Number of lexemes in the lexicon.

iv_size TYPE /AWS1/PLYSIZE /AWS1/PLYSIZE

Total size of the lexicon, in characters.


Queryable Attributes

Alphabet

Phonetic alphabet used in the lexicon. Valid values are ipa and x-sampa.

Accessible with the following methods

Method Description
GET_ALPHABET() Getter for ALPHABET, with configurable default
ASK_ALPHABET() Getter for ALPHABET w/ exceptions if field has no value
HAS_ALPHABET() Determine if ALPHABET has a value

LanguageCode

Language code that the lexicon applies to. A lexicon with a language code such as "en" would be applied to all English languages (en-GB, en-US, en-AUS, en-WLS, and so on.

Accessible with the following methods

Method Description
GET_LANGUAGECODE() Getter for LANGUAGECODE, with configurable default
ASK_LANGUAGECODE() Getter for LANGUAGECODE w/ exceptions if field has no value
HAS_LANGUAGECODE() Determine if LANGUAGECODE has a value

LastModified

Date lexicon was last modified (a timestamp value).

Accessible with the following methods

Method Description
GET_LASTMODIFIED() Getter for LASTMODIFIED, with configurable default
ASK_LASTMODIFIED() Getter for LASTMODIFIED w/ exceptions if field has no value
HAS_LASTMODIFIED() Determine if LASTMODIFIED has a value

LexiconArn

Amazon Resource Name (ARN) of the lexicon.

Accessible with the following methods

Method Description
GET_LEXICONARN() Getter for LEXICONARN, with configurable default
ASK_LEXICONARN() Getter for LEXICONARN w/ exceptions if field has no value
HAS_LEXICONARN() Determine if LEXICONARN has a value

LexemesCount

Number of lexemes in the lexicon.

Accessible with the following methods

Method Description
GET_LEXEMESCOUNT() Getter for LEXEMESCOUNT

Size

Total size of the lexicon, in characters.

Accessible with the following methods

Method Description
GET_SIZE() Getter for SIZE