Auto detect Speech Recognition language - android

I am developing an android app which needs Speech recognition functionality, I need app should work same as Google Translator app in which it Google translate auto detect language spoken. I checked with Microsoft Azure Speech recognition and Google Speech recognition API in both the API we need to provide language code. I searched all over but did not get any workaround or solution to achieve similar functionality. Please help.

May be I am answering late but it may help
I think problem is very large than it seems. As far as I understood you want to achieve speech-to-text and then translate text to required language.
I think using paid services of microsoft or google or amazon would be helful.
https://azure.microsoft.com/en-in/services/cognitive-services/text-analytics/
https://aws.amazon.com/comprehend/

Related

Suggestion for choosing speech to text apis

I am new to speech recognition, android and i have a use case where i need to build an android app which takes commands(limited set of commands, less than 100) from users and executes some logic. I have googled a bit and found the following can be done
Use google cloud speech api
Use Android inbuilt speech to text capability (Is it different from google cloud speech api? If so how?). Also what are the pros and cons of using offline mode of android speech to text?
Use open source speech recognition libraries like Kaldi, CMU Sphinx(it looked like they need a lot of effort in collecting and training the data)
Can someone please suggest me which of the above might best suit my use case?
I have a limited set of commands and speed matters the most to me.
I am really confused and thus putting this question. Thanks in advance.
Use google cloud speech api
Very expensive since you have to pay for every request.
Use Android inbuilt speech to text capability (Is it different from google cloud speech api? If so how?). Also what are the pros and cons of using offline mode of android speech to text?
The inbuilt API is ok to use. It is different from cloud API and it is free. It does not work offline transparently for the user though. Bad side it is slow and you can not configure the vocabulary. So it will decode all words instead of some particular set of commands and often will confuse the required commands with other words in noise.
Use open source speech recognition libraries like Kaldi, CMU Sphinx(it looked like they need a lot of effort in collecting and training the data)
Proper development is always an effort.

Will SAPI work on android?

I am thinking about adding SAPI to cocos2dx, but am unsure if it will run on android.
Should I go with it or use google speech api?
You should use google speech api, since you want to use for android. Google speech api has really nice results.

Android voice recognition API offline

Can someone please help me?
I am developing an application with voice recognition via RecognizerIntent.
Which Android version brought in officially the offline recognition available to apps by API? Is there any statement about it?
By what I read until know it is not a choice of the developer if the voice recognition will be done via online service or the offline dictionaries. Am I right? Or are there any documented API to set offline?
Thanks
Now there is offline voice recognition is possible for android 4.1. check this article
article
and also check pochetsphinx

Using Android speech recognition API

Is there any way I can make an app using jelly bean's offline speech recognition api & choose the sensitivity?
Actually I want to build an app, which tests user's English speaking & score.
If anyone can provide link to an app that currently does the same thing, that will be helpful too, because on that case I wouldn't need build an app to help myself
If you want an offline speech recognition on android, use Pocketsphinx:
http://cmusphinx.sourceforge.net/2011/05/building-pocketsphinx-on-android/

Is there a way to leverage the google voice recognition library?

Android has a really marvelous voice recognition feature built into google translate. As far as I can tell, this is the only app that offers you the ability to speak in a foreign language, and have the app transcribe what you said (and subsequently translate it to another language).
I'm curious if anyone knows how one might leverage the voice recognition lib and utilize it for things other than translation. Specifically, I want to be able to dictate text for email. I googled around a bit, but was unable to find anything. Curious if this functionality is exposed to the wider developer community (like most everything else under the Google roof).
TIA
I think this is as close an answer as I'm going to find.
http://developer.android.com/reference/android/speech/RecognizerIntent.html#ACTION_GET_LANGUAGE_DETAILS

Categories

Resources