SPPARTOFSPEECH (Microsoft Speech Platform)

Microsoft Speech Platform SDK 11

Microsoft Speech Platform

SPPARTOFSPEECH

SPPARTOFSPEECH is used to indicate the part of speech (noun, verb, etc.) when adding a word to or removing a word from a lexicon. The enumeration lists the parts-of-speech categories used in SAPI 5. This list of known parts-of-speech types is intentionally small and broad and will be expanded and refined in future releases. SPPARTOFSPEECH in its minimal form is required to support look ups from the standard SAPI lexicon. This information is useful to TTS engines to determine the correct pronunciation for ambiguous words based on their context.

typedef enum SPPARTOFSPEECH
{
    SPPS_NotOverriden,
    SPPS_Unknown,
    SPPS_Noun,
    SPPS_Verb,
    SPPS_Modifier,
    SPPS_Function,
    SPPS_Noncontent,
    SPPS_SuppressWord
} SPPARTOFSPEECH;

Elements

SPPS_NotOverriden
Flag indicating that the part of speech already present in the lexicon should not be overridden.
SPPS_Unknown
Flag indicating that the part of speech is unknown and is probably from the user lexicon.
SPPS_Noun
Flag indicating that the part of speech is a noun.
SPPS_Verb
Flag indicating that the part of speech is a verb.
SPPS_Modifier
Flag indicating that the part of speech is a modifier.
SPPS_Function
Flag indicating that the part of speech is a function.
SPPS_Noncontent
Flag indicating that the word generally has no semantic value, and its absence from an utterance in a command-and-control grammar may not matter. This is used with the <SUBSET> tag in C&C; grammars. For example, if the word "the" was non-content, then a grammar that is insensitive to non-content words would treat the utterances "play the Beatles" and "play Beatles" identically.
SPPS_SuppressWord
Flag indicating that the word should not be recognized.