forked from tesseract-ocr/langdata
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
11 changed files
with
867,573 additions
and
115,898 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
# Tesseract Latin training - http://ryanfb.github.io/latinocr/ | ||
# Build from the https://github.com/ryanfb/latinocr-lat/ repository | ||
# commit: b6885bca0fa755fbed2bbb36d3f5cebf866a15e0 | ||
|
||
# New segsearch produces better results | ||
enable_new_segsearch 1 | ||
|
||
# Increase penalty for incorrect punctuation, important as | ||
# diacritics can easily be misrecognised as punctuation | ||
language_model_penalty_punc 0.35 | ||
|
||
# Increase minimum linesize. This minimises cases of accents | ||
# being incorrectly recognised as separate lines. | ||
textord_min_linesize 2.25 | ||
|
||
# Also helps to ensure that accents aren't incorrectly recognised | ||
# as separate lines | ||
textord_occupancy_threshold 0.7 | ||
|
||
# Helps to ensure rows don't overlap | ||
textord_excess_blobsize 0.6 | ||
|
||
# Disable rare, variant, macron characters | ||
# (can be enabled with tessedit_char_unblacklist) | ||
tessedit_char_blacklist ĀāĒēĪīŌōŪū |
Oops, something went wrong.