-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
hocr: allow parsing more hOCR documents
It looks like some documents do not contain the xhtml namespace, and also do not use ocr_par, but rather ocrx_block. The code will still assume that the direct children of these nodes are lines, though.
- Loading branch information
1 parent
a03ae9a
commit 6cdb14d
Showing
1 changed file
with
6 additions
and
4 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