Export (0) Print
Expand All

SPMATCHINGMODE (SAPI 5.4)

Speech API 5.4
Microsoft Speech API 5.4

SPMATCHINGMODE

Enumerates the modes of subset matching.

typedef enum SPMATCHINGMODE
{
    AllWords,
    Subsequence,
    OrderedSubset,
    SubsequenceContentRequired,
    OrderedSubsetContentRequired
} SPMATCHINGMODE;

Elements

AllWords
Indicates that recognition of a subset string should take place if all words defined in the grammar phrase are recognized as a sequence in the speech input.
Subsequence
Indicates that recognition of a subset string should take place if one or more words defined in the grammar phrase are recognized as a sequence in the speech input, and the relative order of those recognized words is the same as in the grammar phrase. A matched word may be a preposition or article.
OrderedSubset
Indicates that recognition of a subset string should take place if one or more words defined in the grammar phrase are recognized in the speech input, and the relative order of those recognized words is the same as in the grammar phrase. A matched word may be a preposition or article.
SubsequenceContentRequired
Indicates that recognition of a subset string should take place if one or more words defined in the grammar phrase are recognized as a sequence in the speech input. A matched word may not be a preposition or article.
OrderedSubsetContentRequired
Indicates that recognition of a subset string should take place if one or more words defined by the grammar phrase are recognized as a sequence in the speech input. A matched word may not be a preposition or article.
Show:
© 2015 Microsoft