speech-recognition

Auto download offline speech recognition language on Android

隐身守侯 提交于 2019-12-04 00:19:56
Is there any way in Java to detect if an Android device has an offline speech recognition language installed, and if it does not prompt the user to download it? I know you can ask to speech to text to prefer offline speech to text, but how do you know if the device has the language installed? This question is not on how to use offline speech, this works. The question is "how to detect and download/install offline speech languages" from Java app code. i.e. have the app detect if they have offline German language installed, and if not prompt the user to download/install it. brandall This is not

ios speech to text conversion [duplicate]

只愿长相守 提交于 2019-12-03 22:01:11
This question already has an answer here: iPhone App › Add voice recognition? [closed] 4 answers API or SDK for speech to text(speech recognition ) iphone 3 answers I would like to convert spoken words into text so I can use nslinguistictagger in my app. How can I convert speech to text? What are the options? Does openears support voice to text conversion? Openears will support free speech recognition and text-to-speech functionalities in offline mode. They have FliteController Class Reference, which controls speech synthesis (TTS) in OpenEars. They have done an excellent job in speech

How can I improve Watson Speech to Text accuracy?

冷暖自知 提交于 2019-12-03 22:01:09
问题 I understand that Watson Speech To Text is somewhat calibrated for colloquial conversation and for 1 or 2 speakers. I also know that it can deal with FLAC better than WAV and OGG. I would like to know how could I improve the algorithm recognition, acoustically speaking. I mean, does increasing volume help? Maybe using some compression filter? Noise reduction? What kind of pre processing could help for this service? 回答1: the best way to improve the accuracy of the base models (which are very

How can you make the android emulator support speech recognition

与世无争的帅哥 提交于 2019-12-03 21:00:08
问题 I am writing an app which uses android's speech recognition. However my app doesnt run well on the emulator - runs fine on the mobile itself however. On the emulator I get a red error message through logcat which says: 05-06 20:19:38.527: ERROR/SpeechRecognizer(1745): no selected voice recognition service Does anybody know how to enable an emulator to support speech recognition services? Cheers, 回答1: In your emulator image, can you install Google Voice Search as in Converting speech to text.

Input for Pocketsphinx on Android

偶尔善良 提交于 2019-12-03 20:58:47
I make a demo for speech recognize to text. I have just built the demo Building Pocketsphinx On Android and it work well. But my problem is how to make input from an audio file, not from real time speaking. Any idea to solve it? Thanks. You can use Pocketsphinx API to process any binary data, including binary data read from file. You only need to make sure that data is in the required format. Once you read the binary data into the buffer of type short[] you can process it using pocketsphinx API calls: import edu.cmu.pocketsphinx.pocketsphinx; Pocketsphinx ps = new Decoder(....) ps.processRaw

speech recognition in java

情到浓时终转凉″ 提交于 2019-12-03 20:25:50
I want to use speech recognition in my project and I found this code but when I run it I get an error which is: run: java.lang.NullPointerException at newpackage.HelloWorld.main(HelloWorld.java:55) Please could one of you help me in this problem? This is the server code that I use: package newpackage; import java.util.logging.Level; import java.util.logging.Logger; import javax.speech.*; import javax.speech.recognition.*; import java.io.FileReader; import java.util.Locale; public class HelloWorld extends ResultAdapter { static Recognizer rec; // Receives RESULT_ACCEPTED event: print it, clean

SpeechRecognizer not Hearing After First Result

人走茶凉 提交于 2019-12-03 17:34:37
I am using SpeechRecognizer and RecognizerIntent in Android to implement speech recognition. My aim is to restart listening to speech after my speech recognizer displays the results on the screen. For that purpose, I am using the following code. The problem is, the first time runs fine and displays the results but after it starts listening for the second time (called from onResults method), it does not hear what is being spoken for some reason. Then it gives a ERROR_SPEECH_TIMEOUT error, which means there was no speech input. On Logcat, I can see it entering onReadyForSpeech() but somehow, it

Speaker Recognition using MARF

笑着哭i 提交于 2019-12-03 17:05:33
I am using MARF(Modular Audio Recognition Framework) to recognize the Speaker's voice. In this, i have trained MARF with the voice of person 'A' and tested MARF with voice of person 'B'. Trained using --train training-samples Tested using --ident testing-samples/G.wav In my speakers.txt file I have mentioned the voice samples of both the persons i.e. A & B. But I am not getting the correct response means both the trained voice and testing voice are different but MARF is giving the Audio Sampled match. I have gone through this link too.. http://stackoverflow.com/questions/4837511/speaker

How to translate live streaming using google speech api?

限于喜欢 提交于 2019-12-03 16:59:24
问题 this is the google speech API docs: https://cloud.google.com/speech/docs/sync-recognize i try this API for 2 weeks. but still cant solved my main purpose (translate live streaming). I'm using PHP. (other languange suggestion is allowed, i will find by myself) What i can do in my 2 weeks: Synchronous Speech Recognition (<=1min) Asynchronous Speech Recognition (>1min and <=80min). Note : i can modify this to accept 3hours video. Live speech recognition from mic : https://www.google.com/intl/en

Speech Recognition Service in Android

别等时光非礼了梦想. 提交于 2019-12-03 16:34:39
I have an Android application that uses speech recognition in an Activity. The GUI doesn't do anything except for contain the speech recognition objects. I would like to port this over to a service so I can talk to the application while it's running in the background. However, as far as I know, the speech recognition service has to use onActivityResult, which is unavailable for Services. Is there a way to either contain an Activity in a Service such that its GUI is not displayed, or perform speech recognition in a service instead of an activity? Michael Levy See Google's voice search speech