Was working with mod_pocketsphinx and found it difficult to
troubleshoot the failed loading of the dictionary files. Tried to open
a JIRA to apply the patch on this but it told me the following:
Issue Created Successfully
You have successfully created the issue (MODASRTTS-6), however you do
not have the permission to view the created issue.
If you think this message is wrong, please consult your administrators
about getting the necessary permissions.
if (switch_file_exists(dic, ah->memory_pool) !=
SWITCH_STATUS_SUCCESS) {
- switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR,
"Can't open dictionary.\n");
+ switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR,
"Can't open dictionary. %s\n", dic);
goto end;
}
if (switch_file_exists(lm, ah->memory_pool) !=
SWITCH_STATUS_SUCCESS) {
- switch_log_printf(SWITCH_CHANNEL_LOG,
SWITCH_LOG_WARNING, "Can't open language model.\n");
+ switch_log_printf(SWITCH_CHANNEL_LOG,
SWITCH_LOG_WARNING, "Can't open language model. %s\n", lm);
goto end;
}
Chris Danielson
Software Consultant and Co-Founder
Web: MaxPowerSoft, LLC