43 #ifndef __VERTERBI_H__ 44 #define __VERTERBI_H__ 153 float overall_path_pruning_envelope_width;
154 float candidate_pruning_envelope_width;
160 int betterthan(
const float a,
const float b)
const;
162 double &best_score,
double &best_candidate_score,
163 double &score_cutoff,
double &candidate_cutoff,
203 bool vit_prune_path(
double path_score,
double score_cutoff);
209 void set_pruning_parameters(
float beam,
float ob_beam);
211 void turn_on_debug();
212 void turn_on_trace();
232 #endif // __VERTERBI_H__
EST_VTPath *(* unpath_f_t)(EST_VTPath *p, EST_VTCandidate *c, EST_Features &f)
void set_cand_width(int w)
Only for use in beam search mode: number of candidates to consider.
void set_big_is_good(int flag)
void set_beam_width(int w)
Only for use in beam search mode: number of paths to consider.
void set_debug(int d)
Output some debugging information.
EST_VTCandidate *(* uclist_f_t)(EST_Item *s, EST_Features &f)
const double vit_a_big_number
Unfortunately using MAX_DOUBLE doesn't do the right thing (e.g. comparison don't work with MAX_DOUBLE...
EST_Features f
For holding values to pass to user called functions.
A class that offers a generalised Viterbi decoder.