speech-recognition

RecognizerIntent.ACTION_GET_LANGUAGE_DETAILS in Oreo

怎甘沉沦 提交于 2019-11-30 16:56:52
问题 In most Android devices, the RecognitionService will be supplied by Google's native 'Now/Assistant' application. Up until Android Oreo, I was able to query the languages supported by the Google Recognizer with the following simple code: final Intent vrIntent = new Intent(RecognizerIntent.ACTION_GET_LANGUAGE_DETAILS); // vrIntent.setPackage("com.google.android.googlequicksearchbox"); getContext().sendOrderedBroadcast(vrIntent, null, new BroadcastReceiver() { @Override public void onReceive

Large vocabulary speech recognition in iPhone without internet?

余生长醉 提交于 2019-11-30 16:20:15
I used Openears which needs dictionary. It is usefull when we mention the word in dictionary. I wanted to convert all words we speak. So I used Nuance’s speech to recognition dragaon SDK. But it communicates with webserver. I want to avoid server communication because of security concerns. Is it possible to convert speech to text for all words we speak as it is in windows mobile without communicating server only in offline mode? Speech recognition with unlimited vocabulary requires very big computational and memory resources (gigabytes of memory) and thus it's very hard to do that in iPhone on

Speech Recognition Android App

ぐ巨炮叔叔 提交于 2019-11-30 16:19:00
I'm making an app that takes commands from User and write it in real time. What would be the Best option for me to take? Third Party software like sphinx or should I use the built in (android speech recognition)? Secondly I want it to write in real time, like when I speak it starts writing? You should use the built in Android Speech recognition. Specifically, you will need to operate the SpeechRecognier API so that there is no popup dialog box. Also, do not expect SpeechRecognizer to return anything within onPartialResults() . It rarely does. You could try to use Sphinx, but it seems other

Handling RecognitionListener Errors

ε祈祈猫儿з 提交于 2019-11-30 14:50:43
I am using the Android's speech API to continuously getting input from the user. However this doesn't work quite well when errors occur. What I do is restarting the listener in the method that detects error. It works sometime but the recognizer hangs often for some time. Especially after detecting Server, network time out and recognizer busy errors. This is annoying! I have found some attempt to solve this problem, but none of them worked for me. Do you have a better idea? Here i my code: private void startSR(){ intent = new Intent(RecognizerIntent.ACTION_RECOGNIZE_SPEECH); //intent.putExtra

Speaker Recognition [closed]

♀尐吖头ヾ 提交于 2019-11-30 13:06:01
问题 Closed . This question needs to be more focused. It is not currently accepting answers. Want to improve this question? Update the question so it focuses on one problem only by editing this post. Closed 2 years ago . How could I differentiate between two people speaking? As in if someone says "hello" and then another person says "hello" what kind of signature should I be looking for in the audio data? periodicity? Thanks a lot to anyone who can answer this! 回答1: The solution to this problem

How does Google Keep do Speech Recognition while saving the audio recording at the same time?

倖福魔咒の 提交于 2019-11-30 13:05:21
Android's SpeechRecognizer apparently doesn't allow to record the input on which you're doing speech recognition into an audio file. That is, either you record voice using a MediaRecorder (or AudioRecord for that matter) or you do Speech Recognition with a SpeechRecognizer, in which case the audio isn't recorded into a file (at least not one you can access); but you can't do both at the same time. The question of how to achieve recording audio and doing speech recognition at the same time in Android has been asked several times, and the most popular "solution" is to record a flac file and use

Is there a voice authentication library? [closed]

拥有回忆 提交于 2019-11-30 12:48:16
问题 As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance. Closed 6 years ago . Does anyone know if there's a good voice authentication library available? Or do I need to find a good voice recognition library and

Android SpeechRecognizer “confidence” values are confusing

纵然是瞬间 提交于 2019-11-30 11:09:22
I'm using the SpeechRecognizer via Intent: Intent i = new Intent(RecognizerIntent.ACTION_RECOGNIZE_SPEECH); i.putExtra(RecognizerIntent.EXTRA_LANGUAGE_MODEL, RecognizerIntent.LANGUAGE_MODEL_FREE_FORM); i.putExtra(RecognizerIntent.EXTRA_PROMPT, "straight talk please"); i.putExtra(RecognizerIntent.EXTRA_MAX_RESULTS, 5); i.putExtra(RecognizerIntent.EXTRA_LANGUAGE, "en-US"; startActivityForResult(i, 0); And I get the results in onActivityResults() like this: protected void onActivityResult(int requestCode, int resultCode, Intent data) { if (requestCode == 0 && resultCode == RESULT_OK) { // List

Comparison of Speech Recognition use in Android: by Intent or on-thread?

风格不统一 提交于 2019-11-30 10:51:14
问题 Introduction Android provides two ways for me to use speech recognition. The first way is by an Intent , as in this question: Intent example. A new Activity is pushed onto the top of the stack which listens to the user, hears some speech, attempts to transcribes it (normally via the cloud) then returns the result to my app, via an onActivityResult call. The second is by getting a SpeechRecognizer , like the code here: SpeechRecognizer example. Here, it looks like the speech is recorded and

Speech Recognition & Programming [closed]

回眸只為那壹抹淺笑 提交于 2019-11-30 10:47:12
问题 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 6 years ago . Has anyone had success with Dragon Naturally Speaking voice recognition software when it comes to programming? I am wondering because I think it would be a lot faster than me typing by hand, and easier on my carpol-tunnel. I program from day to day in visual basic 6 ide, visual studio 2008 ide + team explorer,