Posts Tagged ‘bug’

simond crashed. (Status: 1)

Saturday, October 2nd, 2010

The situation is as follows: I have Ralf’s German speech model 0.1.9.1. Here is what I do:

1. 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

2. Start simon and ksimond. simon > Manage scenarios > Import from file: file:///home/ubuntu/Documents/201009/combine-0.2.1/ralfs-german-speech-model-0.1.9.1/scenario-de-0.1.9.1.xml

3. simon > Settings > Configure simon > Model settings > Static model:
file:///home/ubuntu/Documents/201009/combine-0.2.1/ralfs-german-speech-model-0.1.9.1/hmmdefs-de-0.1.9.1
file:///home/ubuntu/Documents/201009/combine-0.2.1/ralfs-german-speech-model-0.1.9.1/tiedlist-de-0.1.9.1
file:///home/ubuntu/Documents/201009/combine-0.2.1/ralfs-german-speech-model-0.1.9.1/macros-de-0.1.9.1
file:///home/ubuntu/Documents/201009/combine-0.2.1/ralfs-german-speech-model-0.1.9.1/stats-de-0.1.9.1
Press Apply. Press OK.

4. Press Connect. simon starts to synchronize with ksimond automatically. simon is now Activated. It is possible to dictate a few words:

eingepferchter eingepflanztem Gerundivum gehocktem Gericht Ätzbad Gerätedichtung gegärtes eingeteilter eingeteiltem eingetragene eingepflegtem Gesetzwidrigkeiten

Most words were recognized correctly. Ralf’s German speech model 0.1.9.1 consists of 31000 German words. I want to try the following:

5. Vocabulary > Active vocabulary > Clear > Do you really want to clear the whole vocabulary? > Yes > Are you absolutely sure you want to continue? > Continue

6. Import dictionary > Target: Active dictionary > Next > PLS lexicon > Next > /home/ubuntu/Documents/201008/german-0.2.1/german-0.2.3.xml > Next > Processing lexicon > Dictionary import was successful > Finish

7. simon is now automatically compiling the model. simon needs a lot of time for the creation of the dictionary file: file:///home/ubuntu/.kde/share/apps/simond/models/default/active/lexicon
The compilation is now finished. Press Activate. Something went wrong:

a. I pressed the Activate button.
b. A few moments later, the message Connection error: The remote host closed the connection appears.
c. There is something wrong with ksimond: simond crashed. (Status: 1)

8. I think that I will post this in the bug tracker. This bug appeared two times on my computer. This means that it is reproducable.

git pull origin master

Friday, September 24th, 2010

A few minutes ago in my Ubuntu terminal:

$ cd /home/ubuntu/Documents/201005/speech2text && git pull origin master [...]
$ ./build_ubuntu.sh [...] (more...)

Append space bar during dictiation

Wednesday, July 21st, 2010

You can append a space bar after each recognized word when you use the dictation plug-in.

append-textGreat option. But I have the impression that simon “forgets” the space bar when I save the scenario.

In the exported scenario file, I find these lines:

<plugin trigger="" name="simondictationcommandplugin.desktop">
<config>
<postText></postText>
</config>

My guess is that simon forgets to store the space-bar.

Error when trying to play recorded word

Wednesday, May 5th, 2010

This is what I did: I imported Ralf's German dictionary as shadow dictionary. Then I selected the German word hoffendem for training.

hoffendem

I pressed the Record button to start the recording. A few seconds later, I pressed the Record button again to stop the recording. When I pressed the Play button, simon crashed and the following error message appeared: (more…)

Active vocabulary is gone

Friday, February 19th, 2010

Yesterday, I imported Ralf’s German dictionary 0.1.8 into simon. Then I recorded two words with simon:

file:///home/am3msi/.kde/share/apps/simon/model/training.data/aufgepresste_S1_2010-02-18_21-54-41.wav

file:///home/am3msi/.kde/share/apps/simon/model/training.data/gelassenem_S1_2010-02-18_21-43-38.wav

simon compiled a speech model with these two words. I defined as grammar the two categories Unknown and Adjektiv.

Here is what happened: The active vocabulary (aufgepresste and gelassenem) isn’t available any more. I am sure that this is a bug.

Bug in prompts file after folder import

Tuesday, December 29th, 2009

Currently, I have problems to activate simon after importing the backup folder. E.g. simon asked me do add the word “S” to the active vocabulary, but I never had trained this word. Obviously, this is a bug. Take a look at the screen shot:

prompts-bug

simon added an “S” to several words. I don’t know the reason why this happened. But of course that is an explanation why I can’t activate simon any more.

The situation is as follows: my speech model was well-working. I want to restore it, or I won’t continue to test simon (because I don’t want to begin from scratch again and again – I want simon to recognize 1000 different German words; this is a lot of work because I have to adjust the work flow, e.g. fixing problematic wav files with sam). So it is necessary to fix the error that was introduced (I removed a word with sam, then I tried to modify my existing simon model with sam; then the error prevented simon from working).

I have uploaded the backup folder (I posted the download link in the previous post).

I think that the simon import process (simon > Training > Import Trainingsdata > Import Folder) does have the bug that an “S” has been added to a lot of words in the prompts file (you can see that in the screen shot).

It would be nice if this bug would be fixed because it wouldn’t be very user-friendly if you have start from scratch again and again.

By the way, an export function would be fine. Personally, I don’t need an export function because I know where I can find the specific files on my computer. But every good software does have export / import functionality.

I am using Ubuntu 9.10 (64-bit), and the simon svn revision 1090 (plain old trunk).

simon deletes file during import

Saturday, September 12th, 2009

simon deleted a file during the import:

import-file

1. I want to import the file /home/liberty/200909/simon-training-texts/training02.xml into simon.
2. I press the Import Text button.
3. I fill out the fields Name and File.
4. Then I press the Next > button.

And then, the file training02.xml disappeared. Probably, this is a bug.

I think that I am using revision 999.

“Unable to create a valid backtrace”

Wednesday, May 6th, 2009

I just got the following error message:

backtrace

This happened before: I started simon and ksimond. Then I pressed the Connect button. Probably I pressed the Connect / Activate button another time (I am not sure about that). Probably, simon and ksimond were connected.

A few hours ago, I installed HTK 3.4.1 and HDecode on my machine. But I didn’t create a grammar for simon. And I didn’t synchronize the one word that I have trained so far (it is the word ‘Aachen’). I didn’t define the terminal for ‘Aachen’ yet. It is a noun, I should try to define that later.

executables.xml should be encoded in UTF-8

Tuesday, August 26th, 2008

I just opened the file “H:/Program Files/simon/simon-0.1-alpha-2/conf/executables.xml” with Notepad++.  I took a look at the encoding.  The file was encoded in ANSI.  That obviously means something different than UTF-8.  But in the first line of the file, there was mentioned that the encoding would be UTF-8.

<?xml version="1.0" encoding="UTF-8"?>

So this is in my opinion a small mistake.

In this case, this mistake doesn’t cause any problems because only ASCII characters are being employed.  But be careful!  In other cases, there might occur some Mojibake.

It is possible that this file was created after I installed Simon on my computer. Well, I have to learn more about Simon. This all takes time. So a little patience is necessary.