Search code examples
web-serviceswebcmusphinx

CMUSphinx for web application


I'm trying to create an speech reconigtion based web. Afer some searching, i found that cmusphinx is a library quite good for speech reconigtion application. And my problem is how can communicate between cmusphinx and web ? Sorry if this is a silly question.

Thanks for all your help !


Solution

  • In general, you need a web framework to marshal web requests to the Java or C code, then you just need to implement required speech-to-text methods with CMUSphinx API.

    Here is the JAX-RS tutorial:

    http://docs.oracle.com/javaee/6/tutorial/doc/giepu.html

    There are also more lightweight web service framework, for example Sinatra for Ruby.

    You can also study existing implementations of web service using CMUSphinx, for example

    https://github.com/alumae/ruby-pocketsphinx-server

    Read more about it here.