Microsoft Speech SDK
SAPI 5.1
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_RESERVED1,
eLEXTYPE_RESERVED2,
eLEXTYPE_RESERVED3,
eLEXTYPE_RESERVED4,
eLEXTYPE_RESERVED5,
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_RESERVED1 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.