Search code examples
c#phoneticssystem.speech.recognition

How do I get raw phonetics data with System.Speech in C#?


I would like to know how to get the raw phonetic data from System.Speech in C#.

World or sentence recognition work great, but it's "interpreted" to give a coherent and grammatically correct sentence. I don't want that; I am looking for a way to get just the translation of audio to phonetics, without interpretation.


Solution

  • I have found what I was looking for here: Speech to Phoneme in .Net

    There is a pronunciation argument for the grammar that can be used with dictation mode:

    new DictationGrammar("grammar:dictation#pronunciation");