If I'm developing an Android app that uses TTS and Voice recognition, which libraries are used for the same voice recognition and speech on Ubuntu?
I'm assuming espeak for text to speech, but I'm unsure which voice recognition library and dictionary/learning/calibration system is used for voice recognition.
I'ld like to make the app available on Ubuntu Desktop.
as well as test it outside an emulator
You may use Google's webspeech API for your application. It uses the same technology as used on android.
Androids voice recognition relies on an internet connection, because the server has a substantial database of voice patterns. (I think)
Computers arent very good with voice recognition yet, so you need a huge database with alot of voices for the computer to cross reference and better understand words. (At least last i studied it)
As so, you cannot use it offline.
You can however use the voice recognition for writing via a workaround
By creating a remote desktop/vnc connection, and direct
or by using a remote keyboard application.
Chrome can use voice recognition for searches, and with an extension, can be used to fill out field data. but as far as i know thats it.
and that's all i know.
Maybe you use CMU Sphinx, it can be used as a toolkit to develop speech recognition both in Linux and Android: CMU Sphinx