SPPARTOFSPEECH
This enumeration defines the parts of speech categories used in SAPI 5.0. The currently defined list of parts of speech is intentionally small and broad and will be expanded and refined in future releases. In its minimal form, this enumeration is required to support lookups 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 = -1,
SPPS_Unknown = 0,
SPPS_Noun = 0x1000,
SPPS_Verb = 0x2000,
SPPS_Modifier = 0x3000,
SPPS_Function = 0x4000,
SPPS_Interjection = 0x5000
} SPPARTOFSPEECH;
Elements
- SPPS_NotOverriden
Part of speech is already present in the lexicon, and should not be overridden. - SPPS_Unknown
Part of speech is unknown, and is probably from the user lexicon. - SPPS_Noun
Part of speech is a noun. - SPPS_Verb
Part of speech is a verb. - SPPS_Modifier
Part of speech is a modifier. - SPPS_Function
Part of speech is a function. - SPPS_Interjection
Part of speech is an interjection.
Requirements
OS Versions: Windows CE .NET 4.1 and later.
Header: Sapi.h, Sapi.idl.
See Also
Last updated on Saturday, April 10, 2004
© 1992-2003 Microsoft Corporation. All rights reserved.