Searched refs:GetUnicharset (Results 1 – 14 of 14) sorted by relevance
/dports/graphics/tesseract/tesseract-5.0.0/src/lstm/ |
H A D | lstmrecognizer.cpp | 99 if (include_charsets && !GetUnicharset().save_to_file(fp)) { in Serialize() 210 recoder_.SetupPassThrough(GetUnicharset()); in LoadRecoder() 261 search_->Decode(outputs, kDictRatio, kCertOffset, worst_dict_cert, &GetUnicharset(), in RecognizeLine() 263 search_->ExtractBestPathAsWords(line_box, scale_factor, debug, &GetUnicharset(), words, in RecognizeLine() 266 search_->extractSymbolChoices(&GetUnicharset()); in RecognizeLine() 269 &GetUnicharset(), lstm_choice_mode); in RecognizeLine() 270 search_->extractSymbolChoices(&GetUnicharset()); in RecognizeLine() 590 return GetUnicharset().get_normed_unichar(uni_id); in DecodeLabel() 604 return GetUnicharset().get_normed_unichar(labels[start]); in DecodeLabel() 626 return GetUnicharset().get_normed_unichar(label); in DecodeSingleLabel()
|
H A D | lstmrecognizer.h | 189 const UNICHARSET &GetUnicharset() const { in GetUnicharset() function 192 UNICHARSET &GetUnicharset() { in GetUnicharset() function
|
/dports/graphics/tesseract/tesseract-5.0.0/src/classify/ |
H A D | shapeclassifier.cpp | 86 const UNICHARSET &ShapeClassifier::GetUnicharset() const { in GetUnicharset() function in tesseract::ShapeClassifier 117 const UNICHARSET &unicharset = GetUnicharset(); in DebugDisplay() 176 GetUnicharset().id_to_unichar(result.unichar_id)); in UnicharPrintResults()
|
H A D | tessclassifier.h | 49 const UNICHARSET &GetUnicharset() const override;
|
H A D | tessclassifier.cpp | 56 const UNICHARSET &TessClassifier::GetUnicharset() const { in GetUnicharset() function in tesseract::TessClassifier
|
H A D | shapeclassifier.h | 87 virtual const UNICHARSET &GetUnicharset() const;
|
/dports/graphics/tesseract/tesseract-5.0.0/src/training/common/ |
H A D | errorcounter.cpp | 50 ErrorCounter counter(classifier->GetUnicharset(), fontsize); in ComputeErrorRate() 113 ErrorCounter old_counter(old_classifier->GetUnicharset(), fontsize); in DebugNewErrors() 114 ErrorCounter new_counter(new_classifier->GetUnicharset(), fontsize); in DebugNewErrors()
|
/dports/graphics/tesseract/tesseract-5.0.0/unittest/ |
H A D | lstmtrainer_test.cc | 49 fra_trainer.MapRecoder(deu_trainer.GetUnicharset(), deu_trainer.GetRecoder()); in TEST_F()
|
/dports/graphics/tesseract/tesseract-5.0.0/src/ccmain/ |
H A D | tesseractclass.cpp | 530 UNICHARSET &lstm_unicharset = lstm_recognizer_->GetUnicharset(); in SetBlackAndWhitelist() 541 UNICHARSET &lstm_unicharset = sub_lang->lstm_recognizer_->GetUnicharset(); in SetBlackAndWhitelist()
|
H A D | linerec.cpp | 276 word->SetupFake(lstm_recognizer_->GetUnicharset()); in SearchWords()
|
H A D | tessedit.cpp | 185 unicharset.CopyFrom(lstm_recognizer_->GetUnicharset()); in init_tesseract_lang_data()
|
H A D | control.cpp | 1399 (*in_word)->SetupFake(lstm_recognizer_->GetUnicharset()); in classify_word_pass1()
|
/dports/graphics/tesseract/tesseract-5.0.0/src/training/unicharset/ |
H A D | lstmtrainer.cpp | 1078 int num_new_unichars = GetUnicharset().size(); in MapRecoder() 1097 ? old_chset.unichar_to_id(GetUnicharset().id_to_unichar(uid)) in MapRecoder() 1130 null_char_ = GetUnicharset().has_special_codes() ? UNICHAR_BROKEN in SetNullChar() 1131 : GetUnicharset().size(); in SetNullChar()
|
H A D | lstmtrainer.h | 254 return EncodeString(str, GetUnicharset(), in EncodeString()
|