-
Notifications
You must be signed in to change notification settings - Fork 9.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Only generate dir for HOCR when needed - fixes #208
Takes advantage of inheritance and dir="ltr" default to: - only generate paragraph dirs which are not ltr - only generate word dirs which don't match enclosing paragraph Tested against LTR, RTL, and mixed direction files. Files for the latter two cases are in a separate commit on the ltr-test-files branch.
- Loading branch information
Showing
1 changed file
with
10 additions
and
5 deletions.
There are no files selected for viewing
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