How I (try to) create Ralf’s German speech model version 0.1.7:
1. Get a list of file names:
ls /home/ubuntu/Documents/201009/combine-0.2.1/wav-all > /home/ubuntu/Documents/201009/combine-0.2.1/dir-wav-all
2. Compare the list of file names with Ralf’s German dictionary:
cat /home/ubuntu/Documents/201008/german-0.2.1/object/german-0.2.2.xml | \
saxonb-xslt -ext:on -s:- -xsl:/home/ubuntu/Documents/201009/combine-0.2.1/compare.xsl
3. Delete old simon configuration files:
rm -r /home/ubuntu/.kde/share/apps/simon
rm -r /home/ubuntu/.kde/share/apps/simond
rm /home/ubuntu/.kde/share/config/sscrc
rm /home/ubuntu/.kde/share/config/speechmodelmanagementrc
rm /home/ubuntu/.kde/share/config/simonsoundrc
rm /home/ubuntu/.kde/share/config/simonscenariosrc
rm /home/ubuntu/.kde/share/config/simonrecognitionrc
rm /home/ubuntu/.kde/share/config/simonrc
rm /home/ubuntu/.kde/share/config/simoncommandrc
rm /home/ubuntu/.kde/share/config/samrc
rm /home/ubuntu/.kde/share/config/ksimondrc
4. Import Ralf's German dictionary into simon. Before I do that, I go to simon > Manage scenarios > New, and create the scenario “de-20100914″. I will export this scenario, and then use it with the “serialize scenarios” function in sam.
5. simon > Add grammar: Zahlwort Adjektiv Substantiv Verb
Add command: dictation plug-in
6. I want to use sam for the creation of the speech model. More than 300000 words should be in the speech model that I want to create.
7. Manage scenarios: Export scenario “de-20100914″
8. A few steps later, the following error message (sam) appears:
Generation of the transcription failed. Please check if you have correctly specified the paths to mkphones0.led and mkphons1.led. (/usr/share/kde4/apps/simon/scripts/mkphones0.led, /usr/share/kde4/apps/simon/scripts/mkphones1.led)
And this is the corresponding build log:
Preperation
Generating wordlist…
Creating monophones…
“/usr/local/bin/HDMan” -A -D -T 1 -m -w “/tmp/kde-ubuntuJPP9Sy/sam/internalsamuser/compile//wlist” -g “/usr/share/kde4/apps/simon/scripts/global.ded” -n “/tmp/kde-ubuntuJPP9Sy/sam/internalsamuser/compile//monophones1″ -i “/tmp/kde-ubuntuJPP9Sy/sam/internalsamuser/compile//dict” “/tmp/kde-ubuntuJPP9Sy/sam/internalsamuser/compile//lexicon”
/usr/local/bin/HDMan -A -D -T 1 -m -w /tmp/kde-ubuntuJPP9Sy/sam/internalsamuser/compile//wlist -g /usr/share/kde4/apps/simon/scripts/global.ded -n /tmp/kde-ubuntuJPP9Sy/sam/internalsamuser/compile//monophones1 -i /tmp/kde-ubuntuJPP9Sy/sam/internalsamuser/compile//dict /tmp/kde-ubuntuJPP9Sy/sam/internalsamuser/compile//lexicon
No HTK Configuration Parameters Set
Output dictionary /tmp/kde-ubuntuJPP9Sy/sam/internalsamuser/compile//dict opened
Source dictionary /tmp/kde-ubuntuJPP9Sy/sam/internalsamuser/compile//lexicon opened
Dictionary /tmp/kde-ubuntuJPP9Sy/sam/internalsamuser/compile//dict created – 26168 words processed, 2 missing
No HTK Configuration Parameters Set
Generating Master Label File…
“/usr/local/bin/HLEd” -A -D -T 1 -l “*” -d “/tmp/kde-ubuntuJPP9Sy/sam/internalsamuser/compile//dict” -i “/tmp/kde-ubuntuJPP9Sy/sam/internalsamuser/compile//phones0.mlf” “/usr/share/kde4/apps/simon/scripts/mkphones0.led” “/tmp/kde-ubuntuJPP9Sy/sam/internalsamuser/compile//words.mlf”
/usr/local/bin/HLEd -A -D -T 1 -l * -d /tmp/kde-ubuntuJPP9Sy/sam/internalsamuser/compile//dict -i /tmp/kde-ubuntuJPP9Sy/sam/internalsamuser/compile//phones0.mlf /usr/share/kde4/apps/simon/scripts/mkphones0.led /tmp/kde-ubuntuJPP9Sy/sam/internalsamuser/compile//words.mlf
No HTK Configuration Parameters Set
Editing file: fiːɐ̯.lab
ERROR [+6550] LoadHTKList: Label Name Expected
FATAL ERROR – Terminating program /usr/local/bin/HLEd
I don’t know what went wrong.
9. I will release Ralf’s German speech model 0.1.7 later, not now.
Edit September 17, 2010: 10. Download Ralf's German speech model 0.1.7.