voice-recognition

How to track rate of speech

梦想与她 提交于 2019-12-02 10:39:19
I am developing an iPhone app that tracks rate of speech, and hoping to use Nuance Speechkit ( https://developer.nuance.com/public/Help/DragonMobileSDKReference_iOS/SpeechKit_Guide/Basics.html ) Is there a way to track rate of speech (e.g., updating WPM every few seconds) with the framework? Right now it seems to just do speech-to-text at the end of a long utterance, as opposed to every word or so (i.e., return partial results). There are easier ways, for example you can use CMUSphinx with phonetic recognizer to recognize just phonemes instead of words. It would work locally on the device and

Disable speak Now prompt in Voice Recognition in Android

自闭症网瘾萝莉.ら 提交于 2019-12-02 08:56:57
When i click on Voice Search in android it gives a pop up screen SPEAK NOW and after i speak say Hello then a WORKING screen comes. Can i know how to disable the default Speak Now and Working screen in Voice Recognition in Android. These screens are displayed as i use the API RecognizerIntent.ACTION_RECOGNIZE_SPEECH. How can i give my screens and know where actual processing takes place? I'm guessing the user has solved their problem by now. For anyone seeing this today, the answer is to use the SpeechRecognizer http://developer.android.com/reference/android/speech/SpeechRecognizer.html The

Android Voice Recognition Commands

杀马特。学长 韩版系。学妹 提交于 2019-12-02 04:37:16
Goal Voice recognition starts, a voice command is spoken and the correct action is done. (Play Some Music starts the music player of whatever supposed to happen.) Current situation I have a test application running which start the Android Voice Recognition, successfully listens and returns a result to my Activity. Snippet to start voice recognition: Intent intent = new Intent(RecognizerIntent.ACTION_RECOGNIZE_SPEECH); intent.putExtra(RecognizerIntent.EXTRA_LANGUAGE_MODEL, RecognizerIntent.LANGUAGE_MODEL_FREE_FORM); intent.putExtra(RecognizerIntent.EXTRA_PROMPT, "Speak your mind.");

What is this error- “IOError: [Errno 2] No such file or directory: 'audio.flac' ”, i am trying to use the google voice recognition api for python

≡放荡痞女 提交于 2019-12-02 03:17:34
问题 Basically i want to convert speech to text, so I am trying to use the google voice recognition api for python. This is the code which i'm trying to run- from pygsr import Pygsr speech = Pygsr() speech.record(3) # duration in seconds (3) phrase, complete_response = speech.speech_to_text('es_ES') print phrase # This is the required output I've installed all the modules correctly, so probably nothing is wrong with the modules, i am getting the following error- Traceback (most recent call last):

Offline Speech Recognition in Android

二次信任 提交于 2019-12-02 02:23:54
I searched a lot on StackOverFlow for this Problem but the Threads are older than 3 years old. I implemented the Google Voice Recognition which requires a Internet Connection. Searching how i can use the Offline Voice Recognition brought no success. Is it now available to use the Voice Recognition when you're offline? My code until yet: speechStartButton.setOnClickListener(new View.OnClickListener() { @Override public void onClick(View view) { promtSpeechInput(); } }); private void promtSpeechInput() { Intent intent = new Intent(RecognizerIntent.ACTION_RECOGNIZE_SPEECH); intent.putExtra

How to see if word exists in Pocketsphinx dictionary?

核能气质少年 提交于 2019-12-02 02:15:29
问题 I simply want to see if a string exists in a dictionary file. (Dictionary file at bottom of question) I want to check if the voice recognizer can recognize a word or not. For example, the recognizer will not be able to recognize a string of ahdfojakdlfafiop , because that is not defined in the dictionary. So, can I check if a word is in the dictionary of pocktsphinx? Something like: if(myString.existsInDictionary){ startListeningBecauseExists(); }else( //Doesn't exist in dictionary!!! } I

How to see if word exists in Pocketsphinx dictionary?

♀尐吖头ヾ 提交于 2019-12-02 00:54:26
I simply want to see if a string exists in a dictionary file. (Dictionary file at bottom of question) I want to check if the voice recognizer can recognize a word or not. For example, the recognizer will not be able to recognize a string of ahdfojakdlfafiop , because that is not defined in the dictionary. So, can I check if a word is in the dictionary of pocktsphinx? Something like: if(myString.existsInDictionary){ startListeningBecauseExists(); }else( //Doesn't exist in dictionary!!! } I just want a way to be able to tell if the recognizer can listen for what I want it to listen to. here is

Offline Speech Recognition in Android

瘦欲@ 提交于 2019-12-01 23:04:08
问题 I searched a lot on StackOverFlow for this Problem but the Threads are older than 3 years old. I implemented the Google Voice Recognition which requires a Internet Connection. Searching how i can use the Offline Voice Recognition brought no success. Is it now available to use the Voice Recognition when you're offline? My code until yet: speechStartButton.setOnClickListener(new View.OnClickListener() { @Override public void onClick(View view) { promtSpeechInput(); } }); private void

What is this error- “IOError: [Errno 2] No such file or directory: 'audio.flac' ”, i am trying to use the google voice recognition api for python

筅森魡賤 提交于 2019-12-01 22:51:28
Basically i want to convert speech to text, so I am trying to use the google voice recognition api for python. This is the code which i'm trying to run- from pygsr import Pygsr speech = Pygsr() speech.record(3) # duration in seconds (3) phrase, complete_response = speech.speech_to_text('es_ES') print phrase # This is the required output I've installed all the modules correctly, so probably nothing is wrong with the modules, i am getting the following error- Traceback (most recent call last): File "C:/Python/google_voice.py", line 4, in <module> phrase, complete_response = speech.speech_to_text

iOS speech to text conversion in number format

一笑奈何 提交于 2019-12-01 21:10:11
Currently I'm using default iOS speech to text conversion without adding any code for it. When the user says 'five', it is displayed as 'five' or '5'. But, I need it to be converted as '5' always. Is there anything I can do with SFSpeechRecognizer or any other way to achieve this? This can get you started, but it is not able to handle mixed strings that contain a number AND a non-number. Ideally, you would need to process each word as it comes through, but then that has potential effects for combined numbers (thirty four) for example. let fiveString = "five" let numberFormatter =