3
votes

I am stuck in one of my offline Android Application, where in I need Offline Speech Recognition and Speech to Text API.

Kindly share your views and input if anyone has worked on Offline Speech to Text and Speech Recognition.

1

1 Answers

5
votes

You could include your own engine, like the CMU Sphinx Engine. This has also the advantage of working without a data connection.

See this post on how to install it on Android - however you have to change the Android.mk : Reverse the order of LOCAL_STATIC_LIBRARIES so the line looks like this:

LOCAL_STATIC_LIBRARIES := pocketsphinx sphinxlm sphinxfeat sphinxfe sphinxutil

Otherwise the NDK will fail to build the package.