Share via


Note

Please see Azure Cognitive Services for Speech documentation for the latest supported speech solutions.

Microsoft Speech Platform

SPPARTOFSPEECH

SPPARTOFSPEECH lists the parts-of-speech categories used in the Microsoft Speech Platform. The enumeration indicates the part of speech of a word being added to or removed from a lexicon. For example, the word is noun or a verb, and so on. SPPARTOFSPEECH supports look-ups from the standard Speech Platform lexicon. A word's part of speech can help text-to-speech (TTS) engines to determine the correct pronunciation for ambiguous words, based on their context.

<pre IsFakePre="true" xmlns="http://www.w3.org/1999/xhtml"> <strong>typedef enum SPPARTOFSPEECH</strong> <strong>{</strong> <strong>SPPS_NotOverriden,</strong> <strong>SPPS_Unknown,</strong> <strong>SPPS_Noun,</strong> <strong>SPPS_Verb,</strong> <strong>SPPS_Modifier,</strong> <strong>SPPS_Function,</strong> <strong>SPPS_Noncontent,</strong> <strong>SPPS_SuppressWord</strong> <strong>} SPPARTOFSPEECH</strong>; </pre>

Elements

  • SPPS_NotOverriden
    The part of speech is already present in the lexicon and should not be overridden.
  • SPPS_Unknown
    The part of speech is unknown.
  • SPPS_Noun
    The part of speech is noun.
  • SPPS_Verb
    The part of speech is verb.
  • SPPS_Modifier
    The part of speech is modifier.
  • SPPS_Function
    The part of speech is function.
  • SPPS_Noncontent
    The word generally has no semantic value, and its absence from an utterance in a context-free grammar (CFG) may not matter. For example, if the word "the" was non-content, then a grammar that is insensitive to non-content words would treat the utterances "play the Beatles" and "play Beatles" identically.
  • SPPS_SuppressWord
    The word should not be recognized.