23#ifndef DISABLED_LEGACY_ENGINE
41 if (!textbase.empty()) {
44#ifndef DISABLED_LEGACY_ENGINE
74#ifndef DISABLED_LEGACY_ENGINE
90#ifndef DISABLED_LEGACY_ENGINE
98 chop_ok_split.set_value(70.0);
135 if (rotated_blob ==
nullptr) {
136 rotated_blob = tessblob;
138 auto *ratings =
new BLOB_CHOICE_LIST();
140 if (rotated_blob != tessblob) {
void InitFeatureDefs(FEATURE_DEFS_STRUCT *featuredefs)
TBLOB * ClassifyNormalizeIfNeeded() const
void DebugWordChoices(bool debug, const char *word_to_debug)
bool flag(WERD_FLAGS mask) const
FEATURE_DEFS_STRUCT feature_defs_
void AdaptiveClassifier(TBLOB *Blob, BLOB_CHOICE_LIST *Choices)
void InitAdaptiveClassifier(TessdataManager *mgr)
void EndAdaptiveClassifier()
static DawgCache * GlobalDawgCache()
void reset_hyphen_vars(bool last_word_on_line)
int valid_word(const WERD_CHOICE &word, bool numbers_ok) const
void SetupForLoad(DawgCache *dawg_cache)
void Load(const std::string &lang, TessdataManager *data_file)
int dict_word(const WERD_CHOICE &word)
BLOB_CHOICE_LIST * call_matcher(TBLOB *blob)
void program_editdown(int32_t elasped_time)
void chop_word_main(WERD_RES *word)
void program_editup(const std::string &textbase, TessdataManager *init_classifier, TessdataManager *init_dict)
void cc_recog(WERD_RES *word)
std::unique_ptr< LanguageModel > language_model_