![]() KDE Developer ![]()
|
When Simon establishes the connection to Simond, I get an error window with the following content:
The text is presented that way: raw HTML code, and the %1 bit, which seems to be the crucial part, is not replaced by an actual value. I am using:
To be noted that I just upgraded from Simon 0.3 (which I had not used for that long, and did not get working since I did not get HTK and support for Phinx was not implemented). I had no luck looking at the Troubleshooting Guide, sadly. |
![]() Moderator ![]()
|
Hi!
I think you may be using an HTK base model in which case you'd need to install Julius for recognition. Either select a different base model or install Julius (it's free software). I fixed the missing replacement string (%1) but the HTML should of course also be fixed - I opened a bug for that (312657) and will take care of that later. Thanks for your report. Best regards, Peter |
![]() KDE Developer ![]()
|
I’ve installed Julius but it makes no difference. I closed both Simon and Simond, reopened them, but no luck.
Since I didn’t mind loosing the collected data up until now, I did a fresh start:
Same results. As soon as I record a word, and the progress label says “Compiling model”, it stays at 20% for a while, and then returns the error message above. Anyway, I’m in this just for the fun; I‘ve been translating Simon into Galician, and though I would give it a try, to have fun and test the translation. I guess I will build the latest source to see what the message looks like now with the %1 replaced. By the way, I’ve opened KSimond and I am unable to change the backend, the combobox says HTK/Julius (I do not have HTK), and it’s disabled, so I can’t change it. Is there something special that needs to be done when building Simon to be able to change that? I think I did not have Sphinx when I built Simon, may that be the reason? I guess I will find out when I rebuild it, though. |
![]() Moderator ![]()
|
Ah, yes. That makes sense too.
SPHINX is an optional compile time dependency. If it wasn't installed when building Simon, this optional feature will not be built. Best regards, Peter |
![]() Registered Member ![]()
|
Why i need to install before compiling simon 4? (HTK, julius, etc..)
|
![]() Moderator ![]()
|
Extract the source code to an empty folder. Change the working directory to that folder and create another folder called "build". Then change into that (empty) folder and run "cmake .." (where ".." should be the Simon source folder). This will start the cmake configuration. At the end of the run, you'll see a list of optional dependencies. It will also tell you a one-line description of each package and whether or not it was found on your system. Best regards, Peter |
![]() Registered Member ![]()
|
I installed almost everything, I couldn't find how to install qaccessibilityclient and PocketSphinx. I compiled PocketSphinx but simon compilation could not located in my system. Can you show me how to install PocketSphinx? maybe i missing something. Yhanks for your time, have a good day. |
![]() Moderator ![]()
|
Did you install PocketSphinx version >= 0.8.0? Simon requires the latest version of SPHINX.
It should be picked up automatically - otherwise you can also set the relevant variables manually: Run "ccmake ." in the build folder and set POCKETSPHINX_INCLUDE_DIR and POCKETSPHINX_LIBRARIES to do that. Best regards, Peter |
![]() Registered Member ![]()
|
It's working now!!
![]() Thanks for your time, everything it's working fine. Only one more question, the program learn or train whichout using the training mode? When i use the training mode it says me that maybe my mic is using mic boost, maybe the problem is related when i use alsamixer the first time because the default installation didn't detect me my sound devices, so i turn it on everything and i l increased all. thank you again for your time Peter. |
![]() Moderator ![]()
|
Good to hear.
That warning message tells you that the ratio of speech vs background noise is rather low. This can be either a result of a wrongly configured mic (lots of digital amplification) or "just" a bad mic. Please double check your settings (refer to the documentation of whatever mixer you're using) and consider using a different microphone if the recognition rate is poor. You can turn off the warning about that in Simon by ticking the "Don't show this again" box, btw. Best regards, Peter |
![]() Registered Member ![]()
|
I have the same issue and I cannot solve it.
I have pocketsphinx-0.8, sphinxbase-0.8 and sphinxtrain-1.0.8 installed. Simon is successfully linked against /usr/lib64/libpocketsphinx.so.1 and I can change all the stuff under "Speech Model Compilation". Some of the binaries are not located in /usr/bin, but in /usr/libexec/sphinxtrain so I had to fix those entries. Backend is set to CMU Sphinx. I have downloaded "[EN/H4W/SPHINX] HUB4 WSJ" acoustic model and "[EN/H4W] Keyboard" scenario. Now when it wants to synchronize I get that message. https://dev.gentoo.org/~hasufell/simonbug.png Nothing useful in stdout/stderr. |
![]() Moderator ![]()
|
Hi hasufell,
If you run "cmake ." in your build folder, are the optional SPHINX packets found? Could you please paste the complete output? Even if the binary is linked to the library, the preprocessor symbol might not have been set correctly during the build. Have you tried doing a clean re-built of Simon? Best regards, Peter |
![]() Registered Member ![]()
|
|
![]() Moderator ![]()
|
It's SPHINX >= 0.8 (the latest version), right? Was it picked up automatically or did you set it manually? (that's why I asked for the cmake log - not the cache, btw) Have you tried doing a clean rebuild? Best regards, Peter |
![]() Registered Member ![]()
|
yes, it's the latest version
I have rebuilt it more than 20 times, because I am testing it currently. The environment is always clean. |
Registered users: Bing [Bot], claydoh, Google [Bot], rblackwell