PocketSphinx 5prealpha
bptbl_s Struct Reference

Back pointer table (forward pass lattice; actually a tree) More...

#include <ngram_search.h>

Data Fields

frame_idx_t frame
 start or end frame More...
 
uint8 valid
 For absolute pruning. More...
 
uint8 refcnt
 Reference count (number of successors) More...
 
int32 wid
 Word index. More...
 
int32 bp
 Back Pointer. More...
 
int32 score
 Score (best among all right contexts) More...
 
int32 s_idx
 Start of BScoreStack for various right contexts. More...
 
int32 real_wid
 wid of this or latest predecessor real word More...
 
int32 prev_real_wid
 wid of second-last real word More...
 
int16 last_phone
 last phone of this word More...
 
int16 last2_phone
 next-to-last phone of this word More...
 

Detailed Description

Back pointer table (forward pass lattice; actually a tree)

Definition at line 109 of file ngram_search.h.

Field Documentation

◆ bp

int32 bptbl_s::bp

Back Pointer.

Definition at line 114 of file ngram_search.h.

◆ frame

frame_idx_t bptbl_s::frame

start or end frame

Definition at line 110 of file ngram_search.h.

◆ last2_phone

int16 bptbl_s::last2_phone

next-to-last phone of this word

Definition at line 120 of file ngram_search.h.

Referenced by ngram_search_exit_score().

◆ last_phone

int16 bptbl_s::last_phone

last phone of this word

Definition at line 119 of file ngram_search.h.

◆ prev_real_wid

int32 bptbl_s::prev_real_wid

wid of second-last real word

Definition at line 118 of file ngram_search.h.

◆ real_wid

int32 bptbl_s::real_wid

wid of this or latest predecessor real word

Definition at line 117 of file ngram_search.h.

◆ refcnt

uint8 bptbl_s::refcnt

Reference count (number of successors)

Definition at line 112 of file ngram_search.h.

◆ s_idx

int32 bptbl_s::s_idx

Start of BScoreStack for various right contexts.

Definition at line 116 of file ngram_search.h.

◆ score

int32 bptbl_s::score

Score (best among all right contexts)

Definition at line 115 of file ngram_search.h.

Referenced by ngram_search_exit_score().

◆ valid

uint8 bptbl_s::valid

For absolute pruning.

Definition at line 111 of file ngram_search.h.

◆ wid

int32 bptbl_s::wid

Word index.

Definition at line 113 of file ngram_search.h.


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