const classafFancomSapi::SpeechDiscardType

sys::Obj
  afFancom::Flag
    afFancomSapi::SpeechDiscardType

@Serializable

Lists flags indicating portions of a recognition result to be removed or eliminated once they are no longer needed.

SDTAll

Source

const static SpeechDiscardType SDTAll := SpeechDiscardType.<ctor>(255, "SDTAll")

Remove all the features above.

Value is 255 (0xFF)

SDTAlternates

Source

const static SpeechDiscardType SDTAlternates := ...

Removes the alternate data that is attached to a phrase. Discarding alternates loses the words permanently and they cannot be retrieved. Value is 128 (0x80)

SDTAudio

Source

const static SpeechDiscardType SDTAudio := SpeechDiscardType.<ctor>(64, "SDTAudio")

Removes the audio data that is attached to a phrase. However, the audio has to have been both set and retained. Value is 64 (0x40)

SDTDisplayText

Source

const static SpeechDiscardType SDTDisplayText := ...

Removes the display text.

Value is 8 (0x8)

SDTLexicalForm

Source

const static SpeechDiscardType SDTLexicalForm := ...

Removes the lexicon from text.

Value is 16 (0x10)

SDTPronunciation

Source

const static SpeechDiscardType SDTPronunciation := ...

Removes the pronunciation text. Value is 32 (0x20)

SDTProperty

Source

const static SpeechDiscardType SDTProperty := ...

Removes the property tree.

Value is 1 (0x1)

SDTReplacement

Source

const static SpeechDiscardType SDTReplacement := ...

Removes the phrase replacement text for inverse text normalization.

Value is 2 (0x2)

SDTRule

Source

const static SpeechDiscardType SDTRule := SpeechDiscardType.<ctor>(4, "SDTRule")

Removes the non-top level rule tree information for a phrase.

Value is 4 (0x4)

make

Source

new make(|This? f := null)

makeFromDefinition

Source

new makeFromDefinition(Int flag, Str? name := null)

makeFromVariant

Source

new makeFromVariant(Variant variant)