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

Detailed Description

Word graph structure used in bestpath/nbest search.

Definition at line 61 of file ps_lattice_internal.h.


Field Documentation

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().

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().

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::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().

Number of nodes in this lattice.

Definition at line 75 of file ps_lattice_internal.h.

Referenced by ngram_search_lattice().

Queue of links for traversal.

Definition at line 85 of file ps_lattice_internal.h.

Referenced by ps_lattice_popq(), and ps_lattice_pushq().

Queue of links for traversal.

Definition at line 86 of file ps_lattice_internal.h.

Referenced by ps_lattice_popq(), and ps_lattice_pushq().

Silence word ID.

Definition at line 67 of file ps_lattice_internal.h.

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


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