![]() Registered Member ![]()
|
Hello Peter
There is now a category "Simon Dictionaries" on kde-files.org I uploaded the corresponding dict from the new German model. You could implement a download-feature for it in simon as you did with the scenarios ![]() Have a nice week manuel |
![]() Moderator ![]()
|
Great! I am actually more thinking about revamping this whole process a bit and potentially moving to bodega to enable built-in dependency tracking and conflict detection (think about shadow vocabulary / base model compatibility, for example). But yeah, it's great to have a place to put dictionaries in the meantime, migration should, if I ever get around to tackling this project, not be an issue. Best regards, Peter |
![]() Registered Member ![]()
|
Hello Peter,
I thought all would be fine now. It was for a long time but now i got again trouble with simon. More specificly simond. I get this: Connection error: The remote host closed the connection The story is as follows. I trained some new words for the "Fensterverwaltung" Szenario and then the model would do its recompilation. But not as is should restart simon again. Instead i get: Simon was deactivated. When i try to connect it manually i get the error above. Every time i try it. What i did to solve it the first time was to delete the simond folder and lose all samples. Then it worked again fine. But then i started training my samples again and it happened again. This time i was training my program starter scenario and was peaking in false words when it happened. The false words where English but as it happened before with the fensterverwaltung scenario i guess it does not make any difference. My guess is that something is wrong with the samples and he disconncets because of that but im not sure. Furthermore i dont know what could be wrong with them.... Why is this happening ? I also started simond from konsole but it did not put out any errors or warnings. When i start ksimond and the message appears "simond started" all looks good till i start simon. Then the server immediately disconnects and will not reconnect. How can we track this down ? and Fix? PS: I hope it has nothing to do with the activated scenarios: at the moment 4 activated. Is there a limit ? Thanks |
![]() Registered Member ![]()
|
Hi Peter,
Further investigation shows that simond exits when I start listening. I could connect to the server as long as simon was not activated. After I press the activation button in simon I get this in gdb:
In the normal Console i get this when i try to connect:
Also Simon dosplays a message: Connection to server lost. When i only connect to the server without pressing the activate button i get:
default{40cf0457-3bd3-4657-956d-65c5eb9b1e06}.dic
default{40cf0457-3bd3-4657-956d-65c5eb9b1e06}.jsgf
Can you make any sense of this ? Oh also i removed the samples from the samples dir. But the error persists. I also removed the simon.db and tried to set another password but nothing helped. ![]() Thanks again for looking into this Manuel |
![]() Moderator ![]()
|
I am almost certain that you are hitting a problem in PocketSphinx. Sadly, the library still quits the calling application in certain instances, most of them related to error handling. I think you are triggering such a code path.
Here's how to address the problem: Confirm the problem with the pocketsphinx_continuous executable. Reproduce the Simon problem, then navigate to /tmp/kde-<username>/simond/default/sphinx and run pocketsphinx_continuous -dict default*.dic -jsgf default*.jsgf -hmm . Does that work? (you should be able to do command line speech recognition here) Best regards, Peter |
![]() Registered Member ![]()
|
Hello Peter,
I get:
this is the ls of the dir:
It seems to have some problems with phones but was does it mean ? Thanks Manuel |
![]() Moderator ![]()
|
Could you please paste default{b2880c90-4552-4b0f-8e48-460708c2de49}.dic and link it here?
There is something wrong with your transcriptions. Best regards, Peter |
![]() Registered Member ![]()
|
Hi Peter,
Here you go. I tar.gz-ted the file ![]() http://www.fileswap.com/dl/WI0EHiYYzV/ Thanks for looking into this:-D PS: I just confirmed: When i have the "Fensterverwaltung" scenario deactivated everything runs smoothly. With the scenario activated i get the error. So it must be a transcription from this scenario. PS2: New base model online ![]() UPDATE: The EDIT below is not applicable any-more, It is working also with the new model. To fix the errors from the EDIT i had to delete the simond folder. Now it is working, as long as i DON'T use the Fensterverwaltung scenario. When i start using that, it gives the error i started the thread with...... So it must be 1000 % in this scenario. EDIT: I tried it without the Fensterverwaltung scenario and the new model sadly this is not working. When i start simon directly it gives me the same error as at the beginning. When i start simond first and then simon i get connection and but then i get this: The recognition reported the following error: Failed to setup recognition:
This first started with the new model. As i said with the old one all was ok without the fensteverwaltung scenario. But now even when i switch back to the old base model this error keeps coming. Inside this file is this:
Manuel |
![]() Moderator ![]()
|
Hey,
you are mixing phoneme sets. For example, your dictionary has "Abbrechen" transcribed as "gls a p b R E C @ n" and "Fox" transcribed as "F OO K S". There is definitely a scenario in there meant for a different base model (likely the Fensterverwaltung scenario). I suggest you re-transcribe the words in this scenario to match your phoneme set and the errors should disappear. Best regards, Peter Ps.: Thanks for the updated speech model! Would it be possible for the people that are working on this to introduce themselves on the kde-speech@kde.org mailing list? I'd love to meet them. |
![]() Registered Member ![]()
|
Hello Peter,
Thanks for pointing that out. I can see the error now myself. As this is a general "problem" of the new model, as it uses another dict as the 2013-Model before i would suggest the maintainers of these scenarios should update to the new model who works also with a new dict and fix their scenarios. At the moment i'm rewriting the Festerferwaltungs-scenario. So it will work with the new model. Also note that some shortcuts do not work correctly if there is compositing enabled or at least not how i think they should. (with Alt-Tab you can only switch between TWO windows as for more windows you would need a pressed ALT Key and a Press Release of TAB, this feature is not included in simon as far as i can see. ) Thanks again for your great help ![]() Manuel |
![]() Moderator ![]()
|
I think I wrote most of them. If you send me updated versions, I'll happily update them. I can do it myself too but that'll probably be a little while from now.
Sadly you are right, the shortcut plugin doesn't allow what you are talking about. Actually, this is mostly a UI problem as the widget that we use for this doesn't accept modifiers alone. If you are willing to do it, you should be able to hack your scenario to do what you want: Set it up like you would but use Alt + D (for example) instead of "pure" Alt. Then open the scenario in ~/.kde4/share/apps/simon/scenarios/<name> and replace Alt+D with Alt. Also, modify the "lastModified" date to the current time (keep in mind that this field is using UTC time). Save, quit and restart Simon. It should work. Be very careful to have working release commandos, though, as having a stuck modifier key is fairly terrible (with stuck Alt, for example, you can not click anything as you are always moving windows ![]() Best regards, Peter |
![]() Registered Member ![]()
|
Hi Peter,
I realized this with a script i wrote. Now it is possible to cycle through all open Windows.... Check it out: http://kde-files.org/content/show.php/% ... ent=164634 All the best ![]() Manuel |
![]() Moderator ![]()
|
Well this obviously breaks the download from within Simon :/
I also really don't think that having "noise words" in a scenario is a good idea. How about publishing those as a separate scenario? Best regards, Peter |
Registered users: Bing [Bot], claydoh, Google [Bot], rblackwell