"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/training/unicharset/validate_javanese.cpp" between
tesseract-5.0.0-rc2.tar.gz and tesseract-5.0.0-rc3.tar.gz

About: Tesseract is an Optical Character Recognition (OCR) engine. Release candidate.

validate_javanese.cpp  (tesseract-5.0.0-rc2):validate_javanese.cpp  (tesseract-5.0.0-rc3)
skipping to change at line 59 skipping to change at line 59
if (report_errors_) { if (report_errors_) {
tprintf("Dropping isolated joiner: 0x%x\n", codes_[codes_used_].second); tprintf("Dropping isolated joiner: 0x%x\n", codes_[codes_used_].second);
} }
++codes_used_; ++codes_used_;
return true; return true;
case CharClass::kOther: case CharClass::kOther:
UseMultiCode(1); UseMultiCode(1);
return true; return true;
default: default:
if (report_errors_) { if (report_errors_) {
tprintf("Invalid start of grapheme sequence:%c=0x%x\n", codes_[codes_use tprintf("Invalid start of grapheme sequence:%c=0x%x\n",
d_].first, static_cast<int>(codes_[codes_used_].first),
codes_[codes_used_].second); codes_[codes_used_].second);
} }
return false; return false;
} }
} }
// Helper consumes/copies a virama and any associated post-virama joiners. // Helper consumes/copies a virama and any associated post-virama joiners.
// A linking virama (with either type of pre-virama joiner, post-virama ZWJ, or // A linking virama (with either type of pre-virama joiner, post-virama ZWJ, or
// no joiner at all) must be followed by a consonant. // no joiner at all) must be followed by a consonant.
// A non-linking (explicit) virama is indicated by a ZWNJ after it, or a non // A non-linking (explicit) virama is indicated by a ZWNJ after it, or a non
 End of changes. 1 change blocks. 
2 lines changed or deleted 2 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)