speech-recognition

C# Speech Recognition - Is this what the user said?

╄→尐↘猪︶ㄣ 提交于 2019-11-26 09:16:05
问题 I have need to write an application which uses a speech recognition engine -- either the built in vista one, or a third party one -- that can display a word or phrase, and recognise when the user reads it (or an approximation of it). I also need to be able to switch quickly between languages, without changing the language of the operating system. The users will be using the system for very short periods. The application needs to work without the requirement of first training the recognition

Android: Speech Recognition without using google server

大兔子大兔子 提交于 2019-11-26 07:22:41
I want to develop an Speech recognizer in android, which should work in offline. As the android's built-in speech recognizer uses google server which needs internet, i want an alternative which works in the absence of internet. Please suggest me some way to achieve the above feature. Pocketsphinx can run on Android. See CMU Sphinx (at SourceForge) The code is currently can be checked out from subversion (its better to use subversion and not to download snapshots), it's very easy to use it, just import the project into eclipse and run it on your device: CMU Sphinx: Pocket Sphinx Android Demo

SAPI and Windows 7 Problem

僤鯓⒐⒋嵵緔 提交于 2019-11-26 04:55:45
问题 I\'m trying to recognize speech with Windows 7 but it always recognizes a speech as a command or just says \"What was that?\". How I can get all speeches? CODE: SpeechRecognizer _speechRecognizer; public Window1() { InitializeComponent(); // set up the recognizer _speechRecognizer = new SpeechRecognizer(); _speechRecognizer.Enabled = false; _speechRecognizer.SpeechRecognized += new EventHandler<SpeechRecognizedEventArgs>(_speechRecognizer_SpeechRecognized); } 回答1: Perhaps you want to use the

Getting FFT peaks from data

…衆ロ難τιáo~ 提交于 2019-11-26 04:00:05
问题 I am developing a speech recognition system from scratch using Octave. I am trying to detect phonemes by detecting differences in frequency. Currently I have read in a wav file, organized the values into blocks and applied fft to the overall data. After, I plot the new data with plot(abs(real(fft(q)))) which creates this graph: How could I get the frequency values (the peaks of the graph)? 回答1: If you don't have access to findpeaks , the basic premise behind how it works is that for each

Google Speech Recognition timeout

戏子无情 提交于 2019-11-26 03:34:26
问题 I am developing an Android Application that is based around Speech Recognition. Until today everything has been working fine and in a timely manner, e.g. I would start my speech recogniser, speak, and within 1 or 2 seconds max the application received the results. It was a VERY acceptable user experience. Then today I now have to wait for ten or more seconds before the recognition results are available. I have tried setting the following EXTRAS, none of which make any discernible difference

Recognizing multiple keywords using PocketSphinx

我是研究僧i 提交于 2019-11-26 03:31:27
问题 I\'ve installed the PocketSphinx demo and it works fine under Ubuntu and Eclipse, but despite trying I can\'t work out how I would add recognition of multiple words. All I want is for the code to recognize single words, which I can then switch() within the code, e.g. \"up\", \"down\", \"left\", \"right\". I don\'t want to recognize sentences, just single words. Any help on this would be grateful. I have spotted other users\' having similar problems but nobody knows the answer so far. One

record/save audio from voice recognition intent

本小妞迷上赌 提交于 2019-11-26 02:20:07
问题 Before asking this question, I checked all stackoverflow other threads related to this issue without any success, so please, don\'t answer with links to other threads, :) I want to save/record the audio that google recognition service used for speech to text operation (using RecognizerIntent or SpeechRecognizer). I experienced many ideas: onBufferReceived from RecognitionListener: I know, this is not working, just test it to see what happens and onBufferReceived is never called (tested on

Android: Speech Recognition without using google server

China☆狼群 提交于 2019-11-26 02:19:25
问题 I want to develop an Speech recognizer in android, which should work in offline. As the android\'s built-in speech recognizer uses google server which needs internet, i want an alternative which works in the absence of internet. Please suggest me some way to achieve the above feature. 回答1: Pocketsphinx can run on Android. See CMU Sphinx (at SourceForge) The code is currently can be checked out from subversion (its better to use subversion and not to download snapshots), it's very easy to use

Using the Android RecognizerIntent with a bluetooth headset

我只是一个虾纸丫 提交于 2019-11-26 01:12:45
I use the following code to launch speech recognition in Android: PackageManager pm = getPackageManager(); List<ResolveInfo> activities = pm.queryIntentActivities(new Intent(RecognizerIntent.ACTION_RECOGNIZE_SPEECH), 0); if (activities.size() == 0) { displayWarning("This device does not support speech recognition"); return; } Intent intent = new Intent(RecognizerIntent.ACTION_RECOGNIZE_SPEECH); intent.putExtra(RecognizerIntent.EXTRA_LANGUAGE_MODEL, RecognizerIntent.LANGUAGE_MODEL_FREE_FORM); startActivityForResult(intent, VOICE_RECOGNITION_REQUEST_CODE); This works fine. However, it doesn't

Using the Android RecognizerIntent with a bluetooth headset

怎甘沉沦 提交于 2019-11-26 01:07:13
问题 I use the following code to launch speech recognition in Android: PackageManager pm = getPackageManager(); List<ResolveInfo> activities = pm.queryIntentActivities(new Intent(RecognizerIntent.ACTION_RECOGNIZE_SPEECH), 0); if (activities.size() == 0) { displayWarning(\"This device does not support speech recognition\"); return; } Intent intent = new Intent(RecognizerIntent.ACTION_RECOGNIZE_SPEECH); intent.putExtra(RecognizerIntent.EXTRA_LANGUAGE_MODEL, RecognizerIntent.LANGUAGE_MODEL_FREE_FORM)