Partager via


SPMATCHINGMODE (SAPI 5.3)

Microsoft Speech API 5.3

SPMATCHINGMODE

New in SAPI 5.3

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 in the match string are recognized as a sequence in the audio input.
  • Subsequence
    Indicates that recognition of a subset string should take place if one or more words in the match string are recognized as a sequence in the audio input, and the relative order of those recognized words is the same as in the subset 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 in the match string are recognized in the audio input, and the relative order of those recognized words is the same as in the subset 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 in the match string are recognized as a sequence in the audio 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 in the match string are recognized as a sequence in the audio input. A matched word may not be a preposition or article.