On what sample rate is trained Russian acoustic model available in archive cmusphinx-ru-5.2.tar.gz which was uploaded on 28 of April? I didn't find any config file where it is written.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I downloaded the latest version of pocketsphinx and sphinxbase from git repository and tried to use it with this model using C API. Code for initialization is following:
m_config=cmd_ln_init(nullptr,ps_args(),TRUE,"-hmm","/home/ubuntu/cmusphinx-ru-5.2","-lm","/home/ubuntu/cmusphinx-ru-5.2/ru.lm","-dict","/home/ubuntu/cmusphinx-ru-5.2/ru.dic",nullptr);if(!m_config){throwstd::runtime_error("Failed to create config object, see log for details");}m_ps=ps_init(m_config);if(!m_ps){throwstd::runtime_error("Failed to create recognizer, see log for details");}
But I got error for each word in the dictionary like following:
ERROR: "dict.c", line 195: Line 65914: Phone 'е1' is mising in the acoustic model; word 'встрепанная' ignored
The full log is in attachments. What am I doing wrong?
I send samples to the decoder by 160 or 5600 units. Is there any limitations on number of samples sending to the decoder?
Also is there a way to compile sources in release mode (without asserts and debug info)?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello!
On what sample rate is trained Russian acoustic model available in archive cmusphinx-ru-5.2.tar.gz which was uploaded on 28 of April? I didn't find any config file where it is written.
16
Thank you for your quick answer, Nickolay!
I downloaded the latest version of pocketsphinx and sphinxbase from git repository and tried to use it with this model using C API. Code for initialization is following:
But I got error for each word in the dictionary like following:
ERROR: "dict.c", line 195: Line 65914: Phone 'е1' is mising in the acoustic model; word 'встрепанная' ignored
The full log is in attachments. What am I doing wrong?
It is a bug in a model, download it again and retry.
Now system started to work. But I always get error after a random number of phrases are recognized:
I checked using gdb that n_feat_frame is set to 15 and n_feat_alloc is set to 12. Nickolay, can you help me to solve this problem?
I send samples to the decoder by 160 or 5600 units. Is there any limitations on number of samples sending to the decoder?
Also is there a way to compile sources in release mode (without asserts and debug info)?
You need to provide more details on how to reproduce this issue in order to get help on the problem
No
No, logging must be disabled in runtime.