i want to develop apps based on speech to text conversion.can you please share your suggestions and how to develop this app
This is probably a good start:
http://developer.android.com/resources/articles/speech-input.html
Yes it should be possible Android has a Speech to Text APi in it. Get the user input as speech and convert it into String(The API Does it for you automatically). Based on your string output you can do operations on your application.
Check this post for getting more info on speech to text API
http://android-developers.blogspot.com/2009/09/introduction-to-text-to-speech-in.html
Related
I want integrate the algorithm which is used by paytm to speak amount like 20rs done successfully. so i want to implement same functionality can anyone suggest that how i can achieve this with india voice accent in android or kotlin.
You can use speak() method of android.speech.tts.TextToSpeech class
and using the same you can convert a text to speech (audio)
Is it possible to implement Voice Interactions for Android 4.4?
If it possible so how to implement it?
https://io2015codelabs.appspot.com/codelabs/voice-interaction#1
You can interact with your phone using Speech to text .while you speak.you can convert your speech to Text(String) and check it with a condition.the you can use Text to speech for getting audio output like google now.
refer this for speech to text and Text to Speech
We can see on Android reference that API added since API level 23 (M) check here. So you can't use it in 4.4.
The only way to to do Voice interactions with previews API version is to use TextToSpeech API, use SpeechRecognition service or implement SpeechListener interface (use SpeechRecognizer to do that) in order to do ASR.
I hope this help you.
See you ;).
I want to create a application android that use pandorabot with Speech Interfaces like CallMOM
https://play.google.com/store/apps/details?id=com.pandorabots.callmom
Is there any example ?
Thanks
The algorithm is pretty simple:
recognize user input
send it to pandorabots
get result back
synthesize it with TTS engine
go to step 1
You can learn more about speech recognition on Android from answer on Is there a way to use the SpeechRecognizer API directly for speech input?
You can learn more about TTS on Android from answer on Android TTS speech synthesizer
Here is an example project that should give you the basics idea of building an Android app that talks to the Pandorabots API.
or is there any library that I can use?
What I want is to record a audio, and then display the text recognized. Thanks a lot.
Yes, please do a google search next time, http://code4reference.com/2012/07/tutorial-android-voice-recognition/
Alternately, if you want more control you can use SpeechRecognizer, Is there a way to use the SpeechRecognizer API directly for speech input?
I'm using the Speech Recognizer Intent in Android. Is there a way to add your own customized words or phrases to Android's Speech recognition 'dictionary'
No. You can only use the two language models supported.
The built in speech recognition provided by google only supports the dictation and search language models. See http://developer.android.com/reference/android/speech/RecognizerIntent.html and LANGUAGE_MODEL_FREE_FORM or LANGUAGE_MODEL_WEB_SEARCH.
http://developer.android.com/resources/articles/speech-input.html says:
You can make sure your users have the
best experience possible by requesting
the appropriate language model:
free_form for dictation, or web_search
for shorter, search-like phrases. We
developed the "free form" model to
improve dictation accuracy for the
voice keyboard, while the "web search"
model is used when users want to
search by voice
Michael is correct, you cannot change the Language Model.
However, you can use "sounds like" algorithms to process the results from Android and match words it doesn't know.
See my answer here:
speech recognition reduce possible search results