CMUSphinx for web application

拟墨画扇 提交于 2019-12-23 04:40:49

问题


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 !


回答1:


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.



来源:https://stackoverflow.com/questions/14119696/cmusphinx-for-web-application

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!