如何在windows环境中的sphinx字典中添加新单词 [英] how to add new word in sphinx dictionary in windows environment

查看:65
本文介绍了如何在windows环境中的sphinx字典中添加新单词的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何在windows环境中的sphinx字典中添加新单词...我已经使用Imtool创建了语料库文件,这些单词被添加到cmudict.0.6d文件中。但是在运行程序时我仍然会收到警告。





how to add new word in sphinx dictionary in windows environment... I have already create the corpus file by using Imtool and those words are added into cmudict.0.6d file. But still I m getting warning while running my program.


17:24:01.671 WARNING dictionary        Missing word: notepad
17:24:01.687 WARNING jsgfGrammar       Can't find pronunciation for notepad









先谢谢





Thanks in Advance

推荐答案

大家好,



我找到了解决方案...



以下是我错过的步骤。



Hi All,

I found the solutions...

Here are the Step which i missed.

>>Extract WSJ_8gau_13dCep_16k_40mel_130Hz_6800Hz.jar file.
>>>Go to sphinx4-1.0beta6\lib\WSJ_8gau_13dCep_16k_40mel_130Hz_6800Hz\dict folder.
>>>Open "cmudict.0.6d" file in that folder.
>>>Copy data from .DIC file, you have downloaded in PART ONE, paste it in "cmudict.0.6d" file and save.

>>>Go to command prompt & travel to sphinx4-1.0beta5\lib folder
run following command
jar -cf WSJ_8gau_13dCep_16k_40mel_130Hz_6800Hz.jar WSJ_8gau_13dCep_16k_40mel_130Hz_6800Hz











谢谢

Amit






Thanks
Amit


这篇关于如何在windows环境中的sphinx字典中添加新单词的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆