I created the Windows/Windows Phone examples and I want to add/complete the innitialization part that sets the models for pocketsphinx.
Is there an overview of different Models sphinx can make and handle.
And is there a overview wich files need to be innitilized for pocketsphinx to work correctly for each type of model.
(Something more like: http://cmusphinx.sourceforge.net/wiki/tutorialam#using_the_model)
In the example I loaded a weather.dmp file just to fill in the request of -lm..... but I haven't got a clue why that was needed because the example doesn't do anything with weather.
PS: without the weather.dmp the pocketsphinx crashes
I hope someone can give me an overview so I can implement it in the examples for a next release
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
In the example I loaded a weather.dmp file just to fill in the request of -lm..... but I haven't got a clue why that was needed because the example doesn't do anything with weather.
You could probably be more specific about this issue. If you are about pocketsphinx-wp-demo, you do not need weather.lm there in Initialize, demo should work fine without it.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
That worked, I will commit a change to not make it possible initialization without a grammer or language model.
Can you tell me what the Config parameter option for gram/jsgf files are? (-lm crashes when using grammer files)
Is there a overview of these parameters? Becuase after looking at this post http://bit.ly/1yTUy2D I'm thinking I can tweak a litle with these parameters.
(PS the tutorial won't give much info about the cmd_ln_init options)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
That worked, I will commit a change to not make it possible initialization without a grammer or language model.
Can you tell me what the Config parameter option for gram/jsgf files are? (-lm crashes when using grammer files)
Is there a overview of these parameters? Becuase after looking at this post http://bit.ly/1yTUy2D I'm thinking I can tweak a litle with these parameters.
(PS the tutorial won't give much info about the cmd_ln_init options)
Thanks for the info.
Gone update the Github rep for the WindowsPhone demo now.
Still have two questions for better implementation;
1: Is there any advantage in loading grams and language model in 'ps_init' compared to later on in 'ps_set_jsgf_file' or 'ps_set_lm_file'?
(other then being the default search type)
2: Is there a overview of all parameters that can be set in the config with 'cmd_ln_init' ??? (like -mmap or -lw... etc)
Thanks for the help Alexander.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
1: Is there any advantage in loading grams and language model in 'ps_init' compared to later on in 'ps_set_jsgf_file' or 'ps_set_lm_file'?
(other then being the default search type)
No
2: Is there a overview of all parameters that can be set in the config with 'cmd_ln_init' ??? (like -mmap or -lw... etc)
You can run pocketsphinx_continuous without arguments and see the list. You can also check pocketsphinx man page.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Tnx for the support, I was able to match the Config of pocketsphinx-continuos to the Windows Phone pocketsphinx.
The recognition is better, but not good anough yet.
I can see all the options that are available in pocketsphinx commandline (config) but I can't find the descriptions for that.
Are there any or where is the "Man Page" what you are talking about?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I created the Windows/Windows Phone examples and I want to add/complete the innitialization part that sets the models for pocketsphinx.
Is there an overview of different Models sphinx can make and handle.
And is there a overview wich files need to be innitilized for pocketsphinx to work correctly for each type of model.
(Something more like: http://cmusphinx.sourceforge.net/wiki/tutorialam#using_the_model)
In the example I loaded a weather.dmp file just to fill in the request of -lm..... but I haven't got a clue why that was needed because the example doesn't do anything with weather.
PS: without the weather.dmp the pocketsphinx crashes
I hope someone can give me an overview so I can implement it in the examples for a next release
Yes, sure http://cmusphinx.sourceforge.net/wiki/tutorial
You could probably be more specific about this issue. If you are about pocketsphinx-wp-demo, you do not need weather.lm there in Initialize, demo should work fine without it.
Found a bug in the WP8 demo.
I was calling ps_end_utt(ps) before ever starting ps_start_utt().
Strange anough this didn't throw exception when loading a LM at innitialization!
I commited it on Nuget.
(with some other missing files for a complete working build)
Nickolay, still have the same issue and I found the line of code with the problem.
The situation is as follows (when using the WIndows Phone demo).
The code does:
1: ps_start_utt
2: ps_process_raw
3: ps_get_hyp
Because "search" in ps->search is NULL.
When initializing pocketsphinx with "-lm" all works fine! (then ps->search is NOT NULL)
What do I need to do to only work with a model path -hmm and a dictionary -dict.
My initialization parameters are:
Hope to hear from you.
You still need grammar or language model. For testing you are using grammar I suppose.
That worked, I will commit a change to not make it possible initialization without a grammer or language model.
Can you tell me what the Config parameter option for gram/jsgf files are? (-lm crashes when using grammer files)
Is there a overview of these parameters? Becuase after looking at this post http://bit.ly/1yTUy2D I'm thinking I can tweak a litle with these parameters.
(PS the tutorial won't give much info about the cmd_ln_init options)
Hi Toine,
The option is "-jsgf".
On Sat, Dec 6, 2014 at 2:04 AM, Toine db tony_mortana@users.sf.net wrote:
--
Sincerely, Alexander
Thanks for the info.
Gone update the Github rep for the WindowsPhone demo now.
Still have two questions for better implementation;
1: Is there any advantage in loading grams and language model in 'ps_init' compared to later on in 'ps_set_jsgf_file' or 'ps_set_lm_file'?
(other then being the default search type)
2: Is there a overview of all parameters that can be set in the config with 'cmd_ln_init' ??? (like -mmap or -lw... etc)
Thanks for the help Alexander.
No
You can run pocketsphinx_continuous without arguments and see the list. You can also check pocketsphinx man page.
Tnx for the quick reply,
Changes for WindowsPhone demo are commited as we speak.
I will check the list!
Do you mean this by 'man page'? http://cmusphinx.sourceforge.net/wiki/tutorialpocketsphinx
Dear Nickolay,
Tnx for the support, I was able to match the Config of pocketsphinx-continuos to the Windows Phone pocketsphinx.
The recognition is better, but not good anough yet.
I can see all the options that are available in pocketsphinx commandline (config) but I can't find the descriptions for that.
Are there any or where is the "Man Page" what you are talking about?