SPVALUETYPE (SAPI 5.3)
Microsoft Speech API 5.3
SPVALUETYPE
SPVALUETYPE lists flags indicating portions of a recognition result to be removed or eliminated once they are no longer needed.
typedef enum tagSPDISCARDTYPES
{
SPDF_PROPERTY,
SPDF_REPLACEMENT,
SPDF_RULE,
SPDF_DISPLAYTEXT,
SPDF_LEXICALFORM,
SPDF_PRONUNCIATION,
SPDF_AUDIO,
SPDF_ALTERNATES,
SPDF_ALL
} SPVALUETYPE;
Elements
- SPDF_PROPERTY
Removes the property tree. - SPDF_REPLACEMENT
Removes the phrase replacement text for inverse text normalization. - SPDF_RULE
Removes the non-top level rule tree information for a phrase. - SPDF_DISPLAYTEXT
Removes the display text. - SPDF_LEXICALFORM
Removes the lexicon from text. - SPDF_PRONUNCIATION
Removes the pronunciation text. - SPDF_AUDIO
Removes the audio data that is attached to a phrase. However, the audio had to be both set and retained. - SPDF_ALTERNATES
Removes the alternate data that is attached to a phrase. Discarding alternates loses the words permanently and may not be retrieved even with ISpSRAlternates::GetAlternates or ISpRecoResult::GetAlternates. - SPDF_ALL
Removes all the elements above.