85 static const float kMinNormalizationAspectRatio = 3.5;
88 static const float kMinProbSkipDeslanted = 0.25;
96 int left,
int top,
int wid,
int hgt);
115 return (deslanted_ ==
true ? deslanted_beam_obj_ : beam_obj_);
120 return (deslanted_ ==
true ? deslanted_alt_list_ : alt_list_);
125 return (deslanted_ ==
true ? deslanted_srch_obj_ : srch_obj_);
131 return (deslanted_ ==
true ? deslanted_char_samp_ : char_samp_);
136 own_char_samp_ = own_char_samp;
145 static const int kMinNormalizationSegmentCnt = 4;
171 #endif // CUBE_OBJECT_H
WordAltList * RecognizePhrase(LangModel *lang_mod=NULL)
int WordCost(const char *str)
CharAltList * RecognizeChar()
CubeObject(CubeRecoContext *cntxt, CharSamp *char_samp)
void SetCharSampOwnership(bool own_char_samp)
WordAltList * RecognizeWord(LangModel *lang_mod=NULL)
CharSamp * CharSample() const
BeamSearch * BeamObj() const
CubeSearchObject * SrchObj() const
WordAltList * AlternateList() const