I want to use my German backup folder with sam. I have to choose the specific paths to the specific backup files:
I am using the following path for the jconf file (I had to look into this blog post): /usr/share/kde4/apps/simond/default.jconf
This is the current content of the file /home/am3msi/Documents/201001/model/20100126-try-to-restore-german.sam:
/home/am3msi/Documents/201001/model/hmmdefs
/home/am3msi/Documents/201001/model/tiedlist
/home/am3msi/Documents/201001/model/model.dict
/home/am3msi/Documents/201001/model/model.dfa
/home/am3msi/Documents/201001/model/training.data/
/usr/share/kde4/apps/simond/default.jconf
/home/am3msi/Documents/201001/model/lexicon
/home/am3msi/Documents/201001/model/model.grammar
/home/am3msi/Documents/201001/model/model.voca
/home/am3msi/Documents/201001/model/prompts
/home/am3msi/Documents/201001/model/training.data/
/home/am3msi/Documents/201001/model/tree1.hed
/home/am3msi/Documents/201001/model/wav_config
16000
/home/am3msi/Documents/201001/model/prompts
Now, I click the Build model button.
1. I pressed the Build model button.
2. The Build log indicates that it worked out. Great. I assume that the previously existing files
/home/am3msi/Documents/201001/model/hmmdefs
/home/am3msi/Documents/201001/model/tiedlist
/home/am3msi/Documents/201001/model/model.dict
/home/am3msi/Documents/201001/model/model.dfa
have been replaced by new ones (probably with the identical content).
Now I want to test the model. So I press the Test model button. sam displays an error message:
Couldn’t open prompts file for reading: /home/am3msi/Documents/201001/model/training.data/
Why is that? What went wrong? Let’s take a look at the paths to the test files:
/home/am3msi/Documents/201001/model/training.data/
/usr/share/kde4/apps/simond/default.jconf
/home/am3msi/Documents/201001/model/prompts
The paths are correct. I am trying the following: I copy the prompts file to the training.data folder. But this didn’t solve my problem.
My guess is that there is a bug with sam. At least, it is possible to build a speech model with sam (from my German backup files). That is a good start. That means that my German wav recordings, my dictionary, my prompts aren’t lost.
My next step will be to take a closer look at simon. I will try to use my German backup files with simon. They worked with sam (only the Test model function failed, but the Build model function obviously worked). And I hope that they will work with simon, too.





