Thursday, 8 August 2013

Speech recognition in Windows Phone 8

Speech recognition in Windows Phone 8

Following This tutorial i am doing a sample program of speech recognition
in WP8.I code like:
public async void SpeechToText_Click(object sender, RoutedEventArgs e)
{
SpeechRecognizerUI speechRecognition=new SpeechRecognizerUI();
SpeechRecognitionUIResult recoResult=await
speechRecognition.RecognizeWithUIAsync();
if (recoResult.ResultStatus == SpeechRecognitionUIStatus.Succeeded)
{
MessageBox.Show(string.Format("You said {0}.",
recoResult.RecognitionResult.Text));
}
}
After running the program,i always face a message "We're sorry but we
can't access the network right now" said by a voice.
Does internet connection needed for it?I check my internet connection but
it is good,so what's the problem there,can anyone explain?Is it a emulator
problem or i am missing something?

No comments:

Post a Comment