sam couldn’t open julius jconf file

I want to figure out how sam works.

jconf

1. I pressed Test model.
2. About 30 seconds later the error message Couldn't open julius jconf file: "". appeared.
3. I guess that I have to define a path for the JConf file. I think that I will give the following file a try: /home/liberty/200908/speech2text/trunk/simond/default.jconf.

By the way, forget about the red question mark in the screen shot of the previous post. The paths are as follows:
/usr/share/kde4/apps/simon/model/tree.hed
/usr/share/kde4/apps/simon/model/wav_config

I am getting the following error message:

recognizing

I get this error message even if I activate/connect simon/ksimond. I guess I have to use a different default.jconf file (located at a different location) because “relative paths must be relative to THIS FILE“.

I am giving the following location a try: /home/liberty/.kde/share/apps/simond/models/a/active/julius.jconf. It seems to work:

test-log

And this could be the overall recognition rate. But it isn’t. Just about 49 % were recognized correctly. I think that I will listen to some of the wav files. Maybe I will have to throw away some of the training samples?

Tags: , , , ,

2 Responses to “sam couldn’t open julius jconf file”

  1. Peter Grasch says:

    Don’t be alarmed by a low recognition rate.

    Remember, the test-recognition is still bound by your configured gramamr which does not allow for the recognition of e.g. “GRÄBERN GRÄBERN PRODUKT PRODUKT” so this file (and the words “GRÄBERN” and “PRODUKT”) will both impact the stated recognition rate very badly.

    The simple solution is to do the following:
    1. Copy your prompts file from ~/.kde/share/apps/simon/model/prompts to ~/.kde/share/apps/simon/model/prompts_test
    2. Remove every prompt entry that you forbid simon to be recognized (as I remember your grammar basically every sentence with more than one word)

    And then try again. sam provides an extra input field for the test prompts but if you name the file prompts_test and store it in the simon model folder, it will be picked up automatically anyways.

    sam will include a prompts editor or some automated way for that in the future but I haven’t gotten to that yet…

  2. Peter Grasch says:

    Oh and an easy way to find the sentences that make problems is to look at the “Sentence” tab of the recognition result analysis. Check those that have 0% recognition rate.