Go to the documentation of this file.
23 #ifndef DISABLED_LEGACY_ENGINE
41 TessdataManager *init_classifier,
42 TessdataManager *init_dict) {
43 if (textbase !=
nullptr)
imagefile = textbase;
44 #ifndef DISABLED_LEGACY_ENGINE
53 #endif // ndef DISABLED_LEGACY_ENGINE
76 #ifndef DISABLED_LEGACY_ENGINE
78 #endif // ndef DISABLED_LEGACY_ENGINE
94 #ifndef DISABLED_LEGACY_ENGINE
143 if (rotated_blob ==
nullptr) {
144 rotated_blob = tessblob;
146 auto *ratings =
new BLOB_CHOICE_LIST();
148 if (rotated_blob != tessblob) {
154 #endif // ndef DISABLED_LEGACY_ENGINE
BLOB_CHOICE_LIST * call_matcher(TBLOB *blob)
void cc_recog(WERD_RES *word)
FEATURE_DEFS_STRUCT feature_defs_
void InitFeatureDefs(FEATURE_DEFS_STRUCT *featuredefs)
bool flag(WERD_FLAGS mask) const
std::unique_ptr< LanguageModel > language_model_
void EndAdaptiveClassifier()
void program_editup(const char *textbase, TessdataManager *init_classifier, TessdataManager *init_dict)
TBLOB * ClassifyNormalizeIfNeeded() const
void Load(const STRING &lang, TessdataManager *data_file)
int valid_word(const WERD_CHOICE &word, bool numbers_ok) const
void InitAdaptiveClassifier(TessdataManager *mgr)
void DebugWordChoices(bool debug, const char *word_to_debug)
void AdaptiveClassifier(TBLOB *Blob, BLOB_CHOICE_LIST *Choices)
void chop_word_main(WERD_RES *word)
void program_editdown(int32_t elasped_time)
int dict_word(const WERD_CHOICE &word)
void reset_hyphen_vars(bool last_word_on_line)
void SetupForLoad(DawgCache *dawg_cache)
static TESS_API DawgCache * GlobalDawgCache()