speech-to-text

Improve Speech Recognition, C#

廉价感情. 提交于 2019-12-01 18:00:50
I use System.Speech library to able to recognize speech but it usually recognizes very different. SpeechRecognizer_rec = new SpeechRecognizer(); DictationGrammar grammar = new DictationGrammar(); grammar.SpeechRecognized += new EventHandler<SpeechRecognizedEventArgs>(grammar_SpeechRecognized); _rec.LoadGrammar(grammar); How can I improve the recgonition? Does it have a relation with Grammer class? If you can afford to ask users go to the training process that will certainly yield you much better results. I have used for myself (and I have an accent) and it improved significantly the accuracy

Improve Speech Recognition, C#

纵然是瞬间 提交于 2019-12-01 17:07:01
问题 I use System.Speech library to able to recognize speech but it usually recognizes very different. SpeechRecognizer_rec = new SpeechRecognizer(); DictationGrammar grammar = new DictationGrammar(); grammar.SpeechRecognized += new EventHandler<SpeechRecognizedEventArgs>(grammar_SpeechRecognized); _rec.LoadGrammar(grammar); How can I improve the recgonition? Does it have a relation with Grammer class? 回答1: If you can afford to ask users go to the training process that will certainly yield you

what to do for voice application for ios?

不羁的心 提交于 2019-12-01 13:44:13
how to make Vlingo like application? is there any api that can be used for making apps for ios? Please provide some guide line or any tutorials or an help or comment will be appreciated Thanks in advance i also like to know how the talking ben the dog and talking tom cat is working as we talk it repeats it in funny voice. how it is possible? Michael Levy For Speech Recognition on iOS, there have been many similar questions. Please see Speech to text Conversion.? or Text-to-speech (voice generation) and speech-to-text (voice recognition) APIs? or Speech recognition framework for iOS that

UnauthorizedAccessException when initializing SpeechSynthesizer

扶醉桌前 提交于 2019-12-01 08:58:22
I'm using Microsofts SpeechSynthesizer to create audio output for my Windows Phone app. I use this code private async void TextToSpeech_Tap(object sender, System.Windows.Input.GestureEventArgs e) { SpeechSynthesizer synth = new SpeechSynthesizer(); await synth.SpeakTextAsync("You have a meeting with Peter in 15 minutes."); } I get this exception: {System.UnauthorizedAccessException: Access is denied. at Windows.Phone.Speech.Synthesis.SpeechSynthesizer..ctor() at NerdQuiz.Question.<TextToSpeech_Tap>d__1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at

UnauthorizedAccessException when initializing SpeechSynthesizer

為{幸葍}努か 提交于 2019-12-01 05:53:23
问题 I'm using Microsofts SpeechSynthesizer to create audio output for my Windows Phone app. I use this code private async void TextToSpeech_Tap(object sender, System.Windows.Input.GestureEventArgs e) { SpeechSynthesizer synth = new SpeechSynthesizer(); await synth.SpeakTextAsync("You have a meeting with Peter in 15 minutes."); } I get this exception: {System.UnauthorizedAccessException: Access is denied. at Windows.Phone.Speech.Synthesis.SpeechSynthesizer..ctor() at NerdQuiz.Question.

webkitSpeechRecognition is “lagging” behind when gathering results

限于喜欢 提交于 2019-12-01 04:08:26
问题 Had an itch to try out the Web Speech API. I copied the code exactly from the article, and I'm having an issue where you speak, but nothing happens until you speak AGAIN. [Fiddle: http://jsfiddle.net/w75v2tm5/] JS: if (!('webkitSpeechRecognition' in window)) { //handle error stuff here... } else { var recognition = new webkitSpeechRecognition(); recognition.continuous = true; recognition.interimResults = false; recognition.start(); var final_transcript = ''; recognition.onresult = function

speech to text api other language android

和自甴很熟 提交于 2019-12-01 01:42:35
I develop android application that can recognize speech in Mandarin, then yield text. But i can't find how to do that. Can someone give me example code of speech recognition in other language(mandarin, france, etc) ? public class MainActivity extends Activity { private TextView txtSpeechInput; private ImageButton btnSpeak; @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_main); txtSpeechInput = (TextView) findViewById(R.id.txtSpeechInput); btnSpeak = (ImageButton) findViewById(R.id.btnSpeak); // hide the action

Get user input from Speech?

南楼画角 提交于 2019-12-01 01:20:11
问题 I have just started trying out the Windows Speech to Text capabilities in C# .Net. I currently have the basics working (IE - Say something, and it will provide output based on what you say). However, I am struggling to figure out how to actually recieve user input as a variable. What I mean by this, is that for example. If the user says: "Call me John" Then I want to be able to take the word John as a variable and then store that as say, the persons username. My current SpeechRecognized event

Speech to text sdk freezes after video playback

女生的网名这么多〃 提交于 2019-12-01 01:17:31
I'm using speech-to-text sdk provided by https://github.com/todoroo/iPhone-Speech-To-Text Recognizer works just fine until the moment I playback a video using MPMoviePlayerController. Here is the code i'm using to call recognizer: - (IBAction)actionBtRecognition:(id)sender { if(recognizer == nil){ recognizer = [[SpeechToTextModule alloc] init]; } [recognizer beginRecording]; } To playback movie I used this tutorial So, once I playback a movie and call recognizer, it's just freezes. When I debug sdk source code, I was found that my voice is not recording. Variable meterStateDB.mAveragePower is

How to get the authentication token for IBM watson STT service?

…衆ロ難τιáo~ 提交于 2019-12-01 01:04:18
I am trying to use the Watson Speech To Text service which needs the following command for the websocket Interface as per the documentation var token = {authentication-token}; var wsURI = 'wss://stream.watsonplatform.net/speech-to-text/api/v1/recognize' + '?watson-token=' + token + '&model=es-ES_BroadbandModel'; I have tried this to get the {authentication-token} using curl command on terminal curl -X GET --user "apikey:{apikey}" "https://stream.watsonplatform.net/authorization/api/v1/token?url=https://stream.watsonplatform.net/text-to-speech/api" The above command yields Error: {"code":401,