I am trying to make a human dictionary (db) of Persian speech, so I tried to speak and C # produced it phonetically, but the problem is that I cannot find any event to find what I was saying. For example, we have an event SpeechRecognized, but it fires after speech recognition. Here is my sample code:
<pre>
<code>
SpeechRecognizer rec = new SpeechRecognizer();
public Form1(){
InitializeComponent();
rec.SpeechRecognized += rec_SpeechRecognized(rec_SpeechRecognized);
rec.SpeechDetected +=new EventHandler(rec_SpeechDetected);
rec.enabled = true;
}
</code>
<pre>
Note:
I want C # to create the phonetic value of what I say so as not to recognize it.
source
share