SPPARTOFSPEECH

Microsoft Speech SDK

The Microsoft.com Speech website Microsoft Speech SDK SAPI 5.1

SPPARTOFSPEECH

SPPARTOFSPEECH 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
{
    //--- SAPI5 public POS category values (bits 28-31)
    SPPS_NotOverriden,  
    SPPS_Unknown,       
    SPPS_Noun,          
    SPPS_Verb,          
    SPPS_Modifier,      
    SPPS_Function,      
    SPPS_Interjection  
} 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_Interjection
Flag indicating that the part of speech is an interjection.