PocketSphinx  5prealpha
ps_lattice_s Struct Reference

Word graph structure used in bestpath/nbest search. More...

#include <ps_lattice_internal.h>

Data Fields

int refcount
 Reference count. More...
 
logmath_t * lmath
 Log-math object. More...
 
ps_search_tsearch
 Search (if generated by search). More...
 
dict_tdict
 Dictionary for this DAG. More...
 
int32 silence
 Silence word ID. More...
 
int32 frate
 Frame rate. More...
 
ps_latnode_tnodes
 List of all nodes. More...
 
ps_latnode_tstart
 Starting node. More...
 
ps_latnode_tend
 Ending node. More...
 
frame_idx_t n_frames
 Number of frames for this utterance. More...
 
int32 n_nodes
 Number of nodes in this lattice. More...
 
int32 final_node_ascr
 Acoustic score of implicit link exiting final node. More...
 
int32 norm
 Normalizer for posterior probabilities. More...
 
char * hyp_str
 Current hypothesis string. More...
 
listelem_alloc_t * latnode_alloc
 Node allocator for this DAG. More...
 
listelem_alloc_t * latlink_alloc
 Link allocator for this DAG. More...
 
listelem_alloc_t * latlink_list_alloc
 List element allocator for this DAG. More...
 
latlink_list_tq_head
 Queue of links for traversal. More...
 
latlink_list_tq_tail
 Queue of links for traversal. More...
 

Detailed Description

Word graph structure used in bestpath/nbest search.

Definition at line 61 of file ps_lattice_internal.h.

Field Documentation

int32 ps_lattice_s::final_node_ascr

Acoustic score of implicit link exiting final node.

Definition at line 76 of file ps_lattice_internal.h.

Referenced by ngram_search_lattice(), ps_lattice_bestpath(), and ps_lattice_posterior().

int32 ps_lattice_s::frate

Frame rate.

Definition at line 68 of file ps_lattice_internal.h.

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

char* ps_lattice_s::hyp_str

Current hypothesis string.

Definition at line 78 of file ps_lattice_internal.h.

Referenced by ps_lattice_free(), and ps_lattice_hyp().

listelem_alloc_t* ps_lattice_s::latlink_alloc

Link allocator for this DAG.

Definition at line 81 of file ps_lattice_internal.h.

Referenced by ps_lattice_free(), ps_lattice_init_search(), ps_lattice_link(), ps_lattice_posterior_prune(), and ps_lattice_read().

listelem_alloc_t* ps_lattice_s::latlink_list_alloc
listelem_alloc_t* ps_lattice_s::latnode_alloc

Node allocator for this DAG.

Definition at line 80 of file ps_lattice_internal.h.

Referenced by ngram_search_lattice(), ps_lattice_free(), ps_lattice_init_search(), and ps_lattice_read().

frame_idx_t ps_lattice_s::n_frames

Number of frames for this utterance.

Definition at line 74 of file ps_lattice_internal.h.

Referenced by ngram_search_lattice(), ps_astar_start(), ps_lattice_init_search(), ps_lattice_n_frames(), ps_lattice_read(), and ps_lattice_write().

int32 ps_lattice_s::n_nodes

Number of nodes in this lattice.

Definition at line 75 of file ps_lattice_internal.h.

Referenced by ngram_search_lattice().

int32 ps_lattice_s::norm
latlink_list_t* ps_lattice_s::q_head

Queue of links for traversal.

Definition at line 85 of file ps_lattice_internal.h.

Referenced by ps_lattice_popq(), and ps_lattice_pushq().

latlink_list_t* ps_lattice_s::q_tail

Queue of links for traversal.

Definition at line 86 of file ps_lattice_internal.h.

Referenced by ps_lattice_popq(), and ps_lattice_pushq().

int ps_lattice_s::refcount

Reference count.

Definition at line 62 of file ps_lattice_internal.h.

Referenced by ps_lattice_free(), ps_lattice_init_search(), ps_lattice_read(), and ps_lattice_retain().

ps_search_t* ps_lattice_s::search

Search (if generated by search).

Definition at line 65 of file ps_lattice_internal.h.

Referenced by ps_astar_hyp(), ps_astar_seg_iter(), ps_lattice_bestpath(), ps_lattice_init_search(), ps_lattice_read(), and ps_lattice_seg_iter().

int32 ps_lattice_s::silence

Silence word ID.

Definition at line 67 of file ps_lattice_internal.h.

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


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