Click here to Skip to main content
15,891,529 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
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.


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




Thanks in Advance
Posted

1 solution

Hi All,

I found the solutions...

Here are the Step which i missed.

CSS
>>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





Thanks
Amit
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900