I need to use speech to text functionality on Android platform. The language which I am using has no offline version, so there is no need to use of RecognizerIntent.
Although I am confused to use Google Cloud speech API as it is not free and is alpha version. Is it much accurate than built in speech to text API or do they actually use the same API?
Find the GitHub project
This project will helps you both online and offline
https://github.com/hiteshsahu/Android-TTS-STT
Related
I am working on developing an offline google assistant alternative using DeepSpeech voice recognition model. Am using Voice-Interaction Service and sessions for same. however, I also want that "hey-Google" like feature. I have been seeing many guides and they point to AlwaysOnHotwordDetector. However in the latest android api that is deprecated.... what to do?
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/
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.
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.
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/