mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-11-15 13:58:32 +00:00
spelling
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9864 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
1 parent
ce7016af1b
commit
1cda796da8
21 files changed
+41
-41
No files matched your search
@@ -285,7 +285,7 @@ static switch_status_t pocketsphinx_asr_feed(switch_asr_handle_t *ah, void *data
|
||||
switch_clear_flag(ps, PSFLAG_READY);
|
||||
if ((hyp = ps_get_hyp(ps->ps, &ps->score, &ps->uttid))) {
|
||||
if (switch_strlen_zero(hyp)) {
|
||||
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_WARNING, "Lost the text, nevermind....\n");
|
||||
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_WARNING, "Lost the text, never mind....\n");
|
||||
ps_start_utt(ps->ps, NULL);
|
||||
switch_set_flag(ps, PSFLAG_READY);
|
||||
} else {
|
||||
@@ -313,7 +313,7 @@ static switch_status_t pocketsphinx_asr_feed(switch_asr_handle_t *ah, void *data
|
||||
return SWITCH_STATUS_SUCCESS;
|
||||
}
|
||||
|
||||
/*! funciton to pause recognizer */
|
||||
/*! function to pause recognizer */
|
||||
static switch_status_t pocketsphinx_asr_pause(switch_asr_handle_t *ah)
|
||||
{
|
||||
pocketsphinx_t *ps = (pocketsphinx_t *) ah->private_info;
|
||||
|
||||
Reference in new issue
Block a user