PocketSphinx  0.6
ps_decoder_s Struct Reference

Decoder object. More...

#include <pocketsphinx_internal.h>

Data Fields

cmd_ln_t * config
 Configuration. More...
 
int refcount
 Reference count. More...
 
acmod_tacmod
 Acoustic model. More...
 
dict_tdict
 Pronunciation dictionary. More...
 
dict2pid_td2p
 Dictionary to senone mapping. More...
 
logmath_t * lmath
 Log math computation. More...
 
glist_t searches
 List of search modules. More...
 
ps_search_tsearch
 Currently active search module. More...
 
ps_search_tphone_loop
 Phone loop search for lookahead. More...
 
int pl_window
 Window size for phoneme lookahead. More...
 
uint32 uttno
 Utterance counter. More...
 
char * uttid
 Utterance ID for current utterance. More...
 
ptmr_t perf
 Performance counter for all of decoding. More...
 
uint32 n_frame
 Total number of frames processed. More...
 
char const * mfclogdir
 Log directory for MFCC files. More...
 
char const * rawlogdir
 Log directory for audio files. More...
 
char const * senlogdir
 Log directory for senone score files. More...
 

Detailed Description

Decoder object.

Definition at line 182 of file pocketsphinx_internal.h.

Field Documentation

◆ acmod

◆ config

cmd_ln_t* ps_decoder_s::config

◆ d2p

dict2pid_t* ps_decoder_s::d2p

Dictionary to senone mapping.

Definition at line 190 of file pocketsphinx_internal.h.

Referenced by ps_add_word(), ps_free(), ps_reinit(), ps_update_fsgset(), and ps_update_lmset().

◆ dict

dict_t* ps_decoder_s::dict

Pronunciation dictionary.

Definition at line 189 of file pocketsphinx_internal.h.

Referenced by ps_add_word(), ps_free(), ps_lattice_read(), ps_reinit(), ps_save_dict(), ps_update_fsgset(), and ps_update_lmset().

◆ lmath

logmath_t* ps_decoder_s::lmath

Log math computation.

Definition at line 191 of file pocketsphinx_internal.h.

Referenced by ps_free(), ps_get_logmath(), ps_lattice_read(), and ps_reinit().

◆ mfclogdir

char const* ps_decoder_s::mfclogdir

Log directory for MFCC files.

Definition at line 206 of file pocketsphinx_internal.h.

Referenced by ps_reinit(), and ps_start_utt().

◆ n_frame

uint32 ps_decoder_s::n_frame

Total number of frames processed.

Definition at line 205 of file pocketsphinx_internal.h.

Referenced by ps_get_all_time().

◆ perf

ptmr_t ps_decoder_s::perf

Performance counter for all of decoding.

Definition at line 204 of file pocketsphinx_internal.h.

Referenced by ps_end_utt(), ps_get_all_time(), ps_get_hyp(), ps_get_hyp_final(), ps_get_prob(), ps_get_utt_time(), ps_seg_iter(), and ps_start_utt().

◆ phone_loop

ps_search_t* ps_decoder_s::phone_loop

Phone loop search for lookahead.

Definition at line 198 of file pocketsphinx_internal.h.

Referenced by ps_end_utt(), ps_reinit(), ps_start_utt(), ps_update_fsgset(), and ps_update_lmset().

◆ pl_window

int ps_decoder_s::pl_window

Window size for phoneme lookahead.

Definition at line 199 of file pocketsphinx_internal.h.

Referenced by ps_reinit().

◆ rawlogdir

char const* ps_decoder_s::rawlogdir

Log directory for audio files.

Definition at line 207 of file pocketsphinx_internal.h.

Referenced by ps_reinit(), and ps_start_utt().

◆ refcount

int ps_decoder_s::refcount

Reference count.

Definition at line 185 of file pocketsphinx_internal.h.

Referenced by ps_free(), ps_init(), and ps_retain().

◆ search

ps_search_t* ps_decoder_s::search

Currently active search module.

Definition at line 197 of file pocketsphinx_internal.h.

Referenced by ps_get_fsgset(), ps_get_lmset(), ps_lattice_read(), ps_nbest(), and ps_start_utt().

◆ searches

glist_t ps_decoder_s::searches

List of search modules.

Definition at line 194 of file pocketsphinx_internal.h.

Referenced by ps_update_fsgset(), and ps_update_lmset().

◆ senlogdir

char const* ps_decoder_s::senlogdir

Log directory for senone score files.

Definition at line 208 of file pocketsphinx_internal.h.

Referenced by ps_reinit(), and ps_start_utt().

◆ uttid

char* ps_decoder_s::uttid

Utterance ID for current utterance.

Definition at line 203 of file pocketsphinx_internal.h.

Referenced by ps_free(), ps_get_uttid(), and ps_start_utt().

◆ uttno

uint32 ps_decoder_s::uttno

Utterance counter.

Definition at line 202 of file pocketsphinx_internal.h.

Referenced by ps_start_utt().


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