enum classafFancomSapi::SpeechGrammarWordType

sys::Obj
  sys::Enum
    afFancomSapi::SpeechGrammarWordType

@Serializable { simple=true }

SGDisplay

Source

const static SpeechGrammarWordType SGDisplay := ...

Each word to be added is in display form. That is, it possibly will have to be converted into lexical form(s). For example, the word "23" (display form) would have to converted into "twenty three" (lexical form). This is currently not implemented.

Value is 0 (0x0)

SGLexical

Source

const static SpeechGrammarWordType SGLexical := ...

Each word to be added is in lexical form and can be used to access the lexicon. This type is specified in the speech text grammar format as <GRAMMAR WORDTYPE="LEXICAL">.

Value is 1 (0x1)

SGLexicalNoSpecialChars

Source

const static SpeechGrammarWordType SGLexicalNoSpecialChars := ...

Switches off the handling of special characters in the grammar. For example "*" normally means dictation and "?" means wildcard, but this flag means that "*" means asterisk, and "?" means ellipsis.

Value is 3 (0x3)

SGPronounciation

Source

const static SpeechGrammarWordType SGPronounciation := ...

Each word is specified solely by its pronunciation. This is currently not implemented.

Value is 2 (0x2)

fromStr

Source

static new fromStr(Str name, Bool checked := true)

Return the SpeechGrammarWordType instance for the specified name. If not a valid name and checked is false return null, otherwise throw ParseErr.

vals

Source

const static SpeechGrammarWordType[] vals := ...

List of SpeechGrammarWordType values indexed by ordinal