How to add custom SR (Speech Recognition) to Microsoft SAPI

喜夏-厌秋 提交于 2019-12-01 13:41:07

SAPI is just the application programming interface, it only provides the connector for the speech recognition engine. There could be multiple implementations of the same interface.

If default implementation by Microsoft doesn't include language X you have multiple choices. I suppose a choice to call Microsoft and ask them to add language for $1M is not for you.

You can create your own SAPI implementation with the software toolkit which allows you to add any language into a speech recognition system. Such engine is CMUSphinx. You can easily create a speech recognition system in any language using CMUSphinx. For more details see the tutorial.

Once you have the core functionality of speech recognition you need to implement engine functions. For that please read the SAPI engine developer documentation from Microsoft. Essentially you need to create DLL with certain interfaces implemented and install it in your system. After that the recognition will be available through SAPI. There is a sample engine in SAPI distribution which you can use as a base.

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