speech-recognition

Converting speech to text

此生再无相见时 提交于 2019-12-29 08:49:07
问题 I have already gone through the sample code present in the Android SDK. It tells that you should have voice recognition APK in your device. I tried a lot but could not find any apk. Can anyone suggest which voice recognition APK to install to get voice recognition. My device is a Samsung Galaxy. 回答1: Update: According to this article, Google Voice Search is what you actually need. The Android SDK makes it easy to integrate speech input directly into your own application—just copy and paste

It's possible to make SpeechRecognizer faster?

社会主义新天地 提交于 2019-12-29 07:55:12
问题 I'm developing an application which is using the android SpeechRecognizer. I'm using it for something simple. I click in a button, my SpeechRecognizer start listening and I got some results from what I said. Easy right? Well, My problem is that I need to make SpeechRecognizer fast. I mean, I click in my button, I say "Hello" and SpeechRecognizer takes like 3-4 seconds in return an array with the possible results. My question is: It's possible to make SpeechRecognizer return results more

SpeechRecognizer throws onError on the first listening

青春壹個敷衍的年華 提交于 2019-12-29 07:54:14
问题 In the Android 5 I faced with strange problem. The first call to the startListening of SpeechRecognizer results to the onError with error code 7 ( ERROR_NO_MATCH ). I made test app with the following code: if (speechRecognizer == null) { speechRecognizer = SpeechRecognizer.createSpeechRecognizer(this); speechRecognizer.setRecognitionListener(new RecognitionListener() { @Override public void onReadyForSpeech(Bundle bundle) { Log.d(TAG, "onReadyForSpeech"); } @Override public void

Change the language of Speech Recognition Engine library

若如初见. 提交于 2019-12-29 07:53:08
问题 I am working on a program (in C#) to recognize voice commands from the user and execute in the PC, i.e. the user says "start menu" and the PC opens the start menu. I have find a cool library: SpeechRecognitionEngine for the speech recognition, the problem is that I need to recognize spanish language too, is there any way to change the language? 回答1: You can use the SpeechRecognitionEngine(CultureInfo) overload. var speechRec = new SpeechRecognitionEngine(new CultureInfo("es-ES"))); This

How to recognize a phrase from a voice file

这一生的挚爱 提交于 2019-12-29 07:08:07
问题 How to get the engine to successfully recognize a phrase from a voice file (wav/mp3/etc..)? For example, if I'll have a voice file and a written text of the context of the same file, so to make it recognize the written words in the voice file. I tried to play around with the SpeechRecognitionEngine, but without success so far. I'll appreciate ideas, since this is my first time dealing with Speech Recognition techniques. I've seen examples of speech-to-text using dictionaries, but I'm not sure

Capturing audio sent to Google's speech recognition server

泪湿孤枕 提交于 2019-12-29 04:56:05
问题 to recognize speech by Google server, I use SpeechRecognizer class in combination with RecognitionListener as suggested in Stephan's answer to this question . In addition, I try to capture the audio signal being recognized by using onBufferReceived() callback from RecognitionListener like: byte[] sig = new byte[500000] ; int sigPos = 0 ; ... public void onBufferReceived(byte[] buffer) { System.arraycopy(buffer, 0, sig, sigPos, buffer.length) ; sigPos += buffer.length ; } ... This seems

Python pocketsphinx RequestError: missing PocketSphinx module: ensure that PocketSphinx is set up correctly

故事扮演 提交于 2019-12-29 04:45:25
问题 I am trying to make a Python app that can record audio and translate it into english text using PyAudio, SpeechRecognition and PocketSphinx. I'm running on a Mac OS X El Capitan, version 10.11.2. Following a tutorial like this one and others, I've downloaded PyAudio version 0.2.9, SpeechRecognition as well as PocketSphinx. I've installed them into a Conda environment. I have followed the instructions from this site to use brew install swig git python on my OS X, hoping it would help. This is

The language for the grammar does not match the language of the speech recognizer

江枫思渺然 提交于 2019-12-29 01:06:20
问题 Good day! It is about Microsoft Server Speech SDK v11.0 (Server version). I have run test example at MSDN sample . So English phrases -red,blue - recognized well. But I want to recognize Russian language too -install Microsoft Speech Recognition Language -TELE (ru-RU) and runs my app/ Code: static void DoWork() { Thread.CurrentThread.CurrentCulture = new CultureInfo("ru-RU"); Thread.CurrentThread.CurrentUICulture = new CultureInfo("ru-RU"); // Create a new SpeechRecognitionEngine instance.

Speech to text API for iphone? [closed]

北慕城南 提交于 2019-12-28 18:51:22
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 3 years ago . Can anyone provide sample integration or please let me know any 3rd party api for speech to text conversion in iphone ? Thanks & Regards, Tariq 回答1: You could look into CMU Sphinx and VocalKit (on github). 回答2: Using pocketsphinx it would be easier http://cmusphinx.sourceforge.net/ OpenEars – iPhone Voice

Cant start service? (Speech recog)

与世无争的帅哥 提交于 2019-12-28 02:18:32
问题 I want to listen for the word hello using pocketsphinx in a service continuously I get the error. Here is the full stack trace. Here is a small portion of it. Unable to create service curlybrace.ruchir.myApp.MyService: java.lang.RuntimeException: new_Decoder returned -1 It is caused by this: setupRecognizer(assetDir); //SETUP and this: .getRecognizer(); In my onCreate : Log.v(TAG, "Voice recognition activated!"); //Register voice recog listener :) Assets assets = null; try { assets = new