PocketSphinx 5prealpha
ps_search_s Struct Reference

Base structure for search module. More...

#include <pocketsphinx_internal.h>

Data Fields

ps_searchfuncs_tvt
 V-table of search methods.
 
char * type
 
char * name
 
ps_search_tpls
 Phoneme loop for lookahead.
 
cmd_ln_t * config
 Configuration.
 
acmod_tacmod
 Acoustic model.
 
dict_tdict
 Pronunciation dictionary.
 
dict2pid_td2p
 Dictionary to senone mappings.
 
char * hyp_str
 Current hypothesis string.
 
ps_lattice_tdag
 Current hypothesis word graph.
 
ps_latlink_tlast_link
 Final link in best path.
 
int32 post
 Utterance posterior probability.
 
int32 n_words
 Number of words known to search (may be less than in the dictionary)
 
int32 start_wid
 Start word ID.
 
int32 silence_wid
 Silence word ID.
 
int32 finish_wid
 Finish word ID.
 

Detailed Description

Base structure for search module.

Definition at line 98 of file pocketsphinx_internal.h.

Field Documentation

◆ acmod

acmod_t* ps_search_s::acmod

Acoustic model.

Definition at line 106 of file pocketsphinx_internal.h.

Referenced by ps_lattice_init_search(), ps_search_init(), and ps_seg_frames().

◆ config

cmd_ln_t* ps_search_s::config

Configuration.

Definition at line 105 of file pocketsphinx_internal.h.

Referenced by ps_lattice_init_search(), ps_lattice_read(), and ps_search_init().

◆ d2p

dict2pid_t* ps_search_s::d2p

Dictionary to senone mappings.

Definition at line 108 of file pocketsphinx_internal.h.

Referenced by ps_search_base_free(), ps_search_base_reinit(), and ps_search_init().

◆ dag

ps_lattice_t* ps_search_s::dag

Current hypothesis word graph.

Definition at line 110 of file pocketsphinx_internal.h.

Referenced by ngram_search_lattice(), ps_search_base_free(), and ps_start_utt().

◆ dict

dict_t* ps_search_s::dict

◆ finish_wid

int32 ps_search_s::finish_wid

Finish word ID.

Definition at line 119 of file pocketsphinx_internal.h.

Referenced by ps_search_base_reinit(), and ps_search_init().

◆ hyp_str

char* ps_search_s::hyp_str

Current hypothesis string.

Definition at line 109 of file pocketsphinx_internal.h.

Referenced by ngram_fwdtree_start(), ngram_search_bp_hyp(), ps_search_base_free(), and ps_start_utt().

◆ last_link

ps_latlink_t* ps_search_s::last_link

Final link in best path.

Definition at line 111 of file pocketsphinx_internal.h.

Referenced by ps_start_utt().

◆ n_words

int32 ps_search_s::n_words

Number of words known to search (may be less than in the dictionary)

Definition at line 113 of file pocketsphinx_internal.h.

Referenced by ps_search_base_reinit(), and ps_search_init().

◆ name

char* ps_search_s::name

Definition at line 102 of file pocketsphinx_internal.h.

◆ pls

ps_search_t* ps_search_s::pls

Phoneme loop for lookahead.

Definition at line 104 of file pocketsphinx_internal.h.

◆ post

int32 ps_search_s::post

Utterance posterior probability.

Definition at line 112 of file pocketsphinx_internal.h.

Referenced by ps_start_utt().

◆ silence_wid

int32 ps_search_s::silence_wid

Silence word ID.

Definition at line 118 of file pocketsphinx_internal.h.

Referenced by ps_search_base_reinit(), and ps_search_init().

◆ start_wid

int32 ps_search_s::start_wid

Start word ID.

Definition at line 117 of file pocketsphinx_internal.h.

Referenced by ps_search_base_reinit(), and ps_search_init().

◆ type

char* ps_search_s::type

Definition at line 101 of file pocketsphinx_internal.h.

◆ vt

ps_searchfuncs_t* ps_search_s::vt

V-table of search methods.

Definition at line 99 of file pocketsphinx_internal.h.

Referenced by ps_search_init().


The documentation for this struct was generated from the following file: