|
PocketSphinx 5prealpha
|
Flat lexicon search. More...
#include <string.h>#include <assert.h>#include <sphinxbase/ckd_alloc.h>#include <sphinxbase/listelem_alloc.h>#include <sphinxbase/err.h>#include "ngram_search.h"#include "ps_lattice_internal.h"Go to the source code of this file.
Macros | |
| #define | __CHAN_DUMP__ 0 |
| #define | chan_v_eval(chan) hmm_vit_eval(&(chan)->hmm) |
Functions | |
| void | ngram_fwdflat_init (ngram_search_t *ngs) |
| Initialize N-Gram search for fwdflat decoding. More... | |
| void | ngram_fwdflat_deinit (ngram_search_t *ngs) |
| Release memory associated with fwdflat decoding. More... | |
| int | ngram_fwdflat_reinit (ngram_search_t *ngs) |
| Rebuild search structures for updated language models. More... | |
| void | ngram_fwdflat_start (ngram_search_t *ngs) |
| Start fwdflat decoding for an utterance. More... | |
| int | ngram_fwdflat_search (ngram_search_t *ngs, int frame_idx) |
| Search one frame forward in an utterance. More... | |
| void | ngram_fwdflat_finish (ngram_search_t *ngs) |
| Finish fwdflat decoding for an utterance. More... | |
Flat lexicon search.
Definition in file ngram_search_fwdflat.c.
| #define __CHAN_DUMP__ 0 |
Definition at line 56 of file ngram_search_fwdflat.c.
| #define chan_v_eval | ( | chan | ) | hmm_vit_eval(&(chan)->hmm) |
Definition at line 60 of file ngram_search_fwdflat.c.
| void ngram_fwdflat_deinit | ( | ngram_search_t * | ngs | ) |
Release memory associated with fwdflat decoding.
Definition at line 169 of file ngram_search_fwdflat.c.
Referenced by ngram_search_free().
| void ngram_fwdflat_finish | ( | ngram_search_t * | ngs | ) |
Finish fwdflat decoding for an utterance.
Definition at line 929 of file ngram_search_fwdflat.c.
| void ngram_fwdflat_init | ( | ngram_search_t * | ngs | ) |
Initialize N-Gram search for fwdflat decoding.
Definition at line 145 of file ngram_search_fwdflat.c.
| int ngram_fwdflat_reinit | ( | ngram_search_t * | ngs | ) |
Rebuild search structures for updated language models.
Definition at line 192 of file ngram_search_fwdflat.c.
References ngram_search_s::fwdflat_wordlist.
| int ngram_fwdflat_search | ( | ngram_search_t * | ngs, |
| int | frame_idx | ||
| ) |
Search one frame forward in an utterance.
Definition at line 816 of file ngram_search_fwdflat.c.
| void ngram_fwdflat_start | ( | ngram_search_t * | ngs | ) |
Start fwdflat decoding for an utterance.
Definition at line 374 of file ngram_search_fwdflat.c.