Microsoft Speech Platform
SPLEXICONTYPE
SPLEXICONTYPE lists the allowed lexicon types. Currently there are only two types in use--user and application lexicons. There are ample reserved types for future expansion and ample private types for potential private use by applications and engines.
typedef enum SPLEXICONTYPE
{
eLEXTYPE_USER,
eLEXTYPE_APP,
eLEXTYPE_VENDORLEXICON1,
eLEXTYPE_LETTERTOSOUND,
eLEXTYPE_MORPHOLOGY,
eLEXTYPE_RESERVED4,
eLEXTYPE_USER_SHORTCUT,
eLEXTYPE_RESERVED6,
eLEXTYPE_RESERVED7,
eLEXTYPE_RESERVED8,
eLEXTYPE_RESERVED9,
eLEXTYPE_RESERVED10,
eLEXTYPE_PRIVATE1,
eLEXTYPE_PRIVATE2,
eLEXTYPE_PRIVATE3,
eLEXTYPE_PRIVATE4,
eLEXTYPE_PRIVATE5,
eLEXTYPE_PRIVATE6,
eLEXTYPE_PRIVATE7,
eLEXTYPE_PRIVATE8,
eLEXTYPE_PRIVATE9,
eLEXTYPE_PRIVATE10,
eLEXTYPE_PRIVATE11,
eLEXTYPE_PRIVATE12,
eLEXTYPE_PRIVATE13,
eLEXTYPE_PRIVATE14,
eLEXTYPE_PRIVATE15,
eLEXTYPE_PRIVATE16,
eLEXTYPE_PRIVATE17,
eLEXTYPE_PRIVATE18,
eLEXTYPE_PRIVATE19,
eLEXTYPE_PRIVATE20
} SPLEXICONTYPE;
Elements
- eLEXTYPE_USER
- Indicates the user lexicon. Each Windows user has a unique user lexicon.
- eLEXTYPE_APP
- Indicates the application lexicons. Application lexicon is shared by all users.
- eLEXTYPE_VENDORLEXICON
- Indicates that the pronunciation comes directly from the engine's built-in lexicon.
- eLEXTYPE_LETTERTOSOUND
- Indicates that the pronunciation was synthesized by an algorithm that deduces pronunciation based on spelling.
- eLEXTYPE_MORPHOLOGY
- Indicates that the pronunciation was synthesized based on the assumption that the word is a morphed form of another word that already exists in the engine's lexicon.
- eLEXTYPE_RESERVED4
- Reserved for future use.
- eLEXTYPE_USER_SHORTCUT
- Indicates that the word is from the user shortcut lexicon. This is a lexicon that maps a spoken term to an expanded printed term. For example, a user may define "my home address" as "12345 NE 678 Av NE Someplace WA 98888" to save them having to dictate and correct the full address.
- eLEXTYPE_RESERVED6 through eLEXTYPE_RESERVED10
- Reserved for future use.
- eLEXTYPE_PRIVATE1 through eLEXTYPE_PRIVATE20
- Indicates the private lexicons. Engines can call ISpContainerLexicon::AddLexicon with one of these flags to add its private lexicons to the container lexicon for consistent access. If these lexicon types are used the lexicons must fully comply with the ISpLexicon interface.