tesseract
5.0.0-alpha-619-ge9db
|
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
129 getDict().word_to_debug.c_str());
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
TBLOB * ClassifyNormalizeIfNeeded() const
void InitFeatureDefs(FEATURE_DEFS_STRUCT *featuredefs)
bool flag(WERD_FLAGS mask) const
void chop_word_main(WERD_RES *word)
void EndAdaptiveClassifier()
void program_editdown(int32_t elasped_time)
void cc_recog(WERD_RES *word)
int dict_word(const WERD_CHOICE &word)
void Load(const STRING &lang, TessdataManager *data_file)
void program_editup(const char *textbase, TessdataManager *init_classifier, TessdataManager *init_dict)
static TESS_API DawgCache * GlobalDawgCache()
void DebugWordChoices(bool debug, const char *word_to_debug)
void AdaptiveClassifier(TBLOB *Blob, BLOB_CHOICE_LIST *Choices)
void SetupForLoad(DawgCache *dawg_cache)
FEATURE_DEFS_STRUCT feature_defs_
void InitAdaptiveClassifier(TessdataManager *mgr)
void reset_hyphen_vars(bool last_word_on_line)
BLOB_CHOICE_LIST * call_matcher(TBLOB *blob)
int valid_word(const WERD_CHOICE &word, bool numbers_ok) const
std::unique_ptr< LanguageModel > language_model_