PocketSphinx
5.0.0
A small speech recognizer
|
Go to the documentation of this file.
77 #ifndef __PS_SEARCH_H__
78 #define __PS_SEARCH_H__
POCKETSPHINX_EXPORT ngram_model_t * ps_get_lm(ps_decoder_t *ps, const char *name)
const POCKETSPHINX_EXPORT char * ps_current_search(ps_decoder_t *ps)
POCKETSPHINX_EXPORT int ps_add_keyphrase(ps_decoder_t *ps, const char *name, const char *keyphrase)
Public API for language models.
Multi-level alignment structure.
Iterator over search modules.
POCKETSPHINX_EXPORT int ps_remove_search(ps_decoder_t *ps, const char *name)
POCKETSPHINX_EXPORT int ps_add_allphone(ps_decoder_t *ps, const char *name, ngram_model_t *lm)
POCKETSPHINX_EXPORT int ps_set_alignment(ps_decoder_t *ps, ps_alignment_t *al)
POCKETSPHINX_EXPORT int ps_activate_search(ps_decoder_t *ps, const char *name)
const POCKETSPHINX_EXPORT char * ps_search_iter_val(ps_search_iter_t *itor)
POCKETSPHINX_EXPORT ps_alignment_t * ps_get_alignment(ps_decoder_t *ps)
POCKETSPHINX_EXPORT void ps_search_iter_free(ps_search_iter_t *itor)
POCKETSPHINX_EXPORT int ps_add_allphone_file(ps_decoder_t *ps, const char *name, const char *path)
POCKETSPHINX_EXPORT int ps_add_jsgf_string(ps_decoder_t *ps, const char *name, const char *jsgf_string)
POCKETSPHINX_EXPORT ps_search_iter_t * ps_search_iter(ps_decoder_t *ps)
N-Gram based language model.
POCKETSPHINX_EXPORT int ps_add_lm(ps_decoder_t *ps, const char *name, ngram_model_t *lm)
POCKETSPHINX_EXPORT int ps_add_lm_file(ps_decoder_t *ps, const char *name, const char *path)
POCKETSPHINX_EXPORT ps_search_iter_t * ps_search_iter_next(ps_search_iter_t *itor)
Speech recognizer object.
POCKETSPHINX_EXPORT int ps_add_jsgf_file(ps_decoder_t *ps, const char *name, const char *path)
POCKETSPHINX_EXPORT int ps_add_fsg(ps_decoder_t *ps, const char *name, fsg_model_t *fsg)
POCKETSPHINX_EXPORT int ps_set_align_text(ps_decoder_t *ps, const char *words)
Multi-level alignment (words, phones, states) over an utterance.
const POCKETSPHINX_EXPORT char * ps_get_kws(ps_decoder_t *ps, const char *name)
POCKETSPHINX_EXPORT fsg_model_t * ps_get_fsg(ps_decoder_t *ps, const char *name)
POCKETSPHINX_EXPORT int ps_add_kws(ps_decoder_t *ps, const char *name, const char *keyfile)