关于如何选择sphinx4和pocketsphinx和一些其他问题

来源:互联网 发布:海康域名 编辑:程序博客网 时间:2024/06/03 19:08

从CMUsphinx wiki上摘抄的内容

Technologies

Third thing to consider is the set of particular technologies you will build on. Although CMUSphinx tries to provide more or less complete program suite for development of speech applications, you'll sometimes need to use other packages/programming languages/tools. You need to find out yourself if you are going to continue with Java, C or any of scripting languages CMUSphinx supports. The rule to choose between sphinx4 or pocketsphinx is the following:

  • Need speed or portability → use pocketsphinx
  • Need flexibility and managability → use sphinx4

Although people often ask what is more accurate sphinx4 or pocketsphinx, you shouldn't bother with this question at all. Accuracy is not the argument here. Both sphinx4 and pocketsphinx provide acceptable accuracy and even then it depends on many factors, not just the engine. The thing is that engine is just a part of the system which should include many more components. If we are talking about large vocabulary decoder, there must be diarization framework, adaptation framework and postprocessing framework. They all need to cooperate somehow.Flexibility of sphinx4 allows you to build such a system quickly. It's easy to embed sphinx4 into flash server like red5 to provide web-based recognition, it's easy to manage many sphinx4 instances doing large-scale decoding on a cluster.

On the other side, if your system needs to be efficient and reasonably accurate, if you are running on embedded device or you are interested in using recognizer with some exotic language like Erlang, pocketsphinx is your choice. It's very hard to integrate Java with other languages not supported by JVM pocketsphinx is way better here.

Next example of what you need to consider a development platform choice. If you are bound to some, that's an easy question for you. If you can choose, we highly recommend you to use GNU/Linux as a development platform. We can help you with Windows or Mac issues but there are no guarantees, our main development platform is Linux. For many tasks you'll need to run complex scripts using perl of python. On Windows it might be problematic.

Got it? Let's start! Next section will describe the process of creation the sample application either withsphinx4 or pocketsphinx. Choose the right one.


看来如果是嵌入式,小规模语量开发,还是选择pocketSphinx好一些。


Q: Which languages are supported

CMUSphinx itself is language-independent, you can recognize any language. However, it requires an acoustic model and a language model. We provide prebuilt language models for many languages (Enlish, Chinese, French, Spanish, German, Russian, etc) in download section.

可以尝试一下官方提供的声学模型和语言模型,看看效果如何.



0 0
原创粉丝点击