├── .github └── workflows │ └── codeql.yml ├── .gitignore ├── .travis.yml ├── Dockerfile ├── LICENSE ├── README.md ├── hocr-check ├── hocr-combine ├── hocr-cut ├── hocr-eval ├── hocr-eval-geom ├── hocr-eval-lines ├── hocr-extract-g1000 ├── hocr-extract-images ├── hocr-lines ├── hocr-merge-dc ├── hocr-pdf ├── hocr-split ├── hocr-wordfreq ├── requirements.txt ├── setup.cfg ├── setup.py └── test ├── .gitignore ├── hocr-check ├── ancestor │ ├── notok-carea.html │ ├── notok-line.html │ ├── notok-par.html │ ├── ok-carea.html │ ├── ok-line.html │ └── ok-par.html ├── meta │ ├── notok-system.html │ ├── notok-typo.html │ └── ok-system.html └── test-hocr-check.tsht ├── hocr-combine └── test-hocr-combine.tsht ├── hocr-cut └── test-hocr-cut.tsht ├── hocr-eval-geom └── hocr-eval-geom.tsht ├── hocr-eval-lines └── hocr-eval-lines.tsht ├── hocr-eval └── hocr-eval.tsht ├── hocr-extract-images └── test-hocr-extract-images.tsht ├── hocr-lines └── hocr-lines.tsht ├── hocr-merge-dc ├── dcsample.xml ├── dcsample2.xml └── hocr-merge-dc.tsht ├── hocr-pdf └── test-hocr-pdf.tsht ├── hocr-split ├── test-hocr-split.tsht └── test.hocr ├── hocr-wordfreq └── hocr-wordfreq.tsht ├── smoke.tsht ├── testdata ├── alice_1.png ├── litver.html ├── litver.png ├── sample.html ├── sample.txt └── tess.hocr └── tsht /.github/workflows/codeql.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocropus/hocr-tools/HEAD/.github/workflows/codeql.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocropus/hocr-tools/HEAD/.gitignore -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocropus/hocr-tools/HEAD/.travis.yml -------------------------------------------------------------------------------- /Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocropus/hocr-tools/HEAD/Dockerfile -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocropus/hocr-tools/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocropus/hocr-tools/HEAD/README.md -------------------------------------------------------------------------------- /hocr-check: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocropus/hocr-tools/HEAD/hocr-check -------------------------------------------------------------------------------- /hocr-combine: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocropus/hocr-tools/HEAD/hocr-combine -------------------------------------------------------------------------------- /hocr-cut: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocropus/hocr-tools/HEAD/hocr-cut -------------------------------------------------------------------------------- /hocr-eval: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocropus/hocr-tools/HEAD/hocr-eval -------------------------------------------------------------------------------- /hocr-eval-geom: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocropus/hocr-tools/HEAD/hocr-eval-geom -------------------------------------------------------------------------------- /hocr-eval-lines: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocropus/hocr-tools/HEAD/hocr-eval-lines -------------------------------------------------------------------------------- /hocr-extract-g1000: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocropus/hocr-tools/HEAD/hocr-extract-g1000 -------------------------------------------------------------------------------- /hocr-extract-images: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocropus/hocr-tools/HEAD/hocr-extract-images -------------------------------------------------------------------------------- /hocr-lines: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocropus/hocr-tools/HEAD/hocr-lines -------------------------------------------------------------------------------- /hocr-merge-dc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocropus/hocr-tools/HEAD/hocr-merge-dc -------------------------------------------------------------------------------- /hocr-pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocropus/hocr-tools/HEAD/hocr-pdf -------------------------------------------------------------------------------- /hocr-split: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocropus/hocr-tools/HEAD/hocr-split -------------------------------------------------------------------------------- /hocr-wordfreq: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocropus/hocr-tools/HEAD/hocr-wordfreq -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocropus/hocr-tools/HEAD/requirements.txt -------------------------------------------------------------------------------- /setup.cfg: -------------------------------------------------------------------------------- 1 | [metadata] 2 | description-file = README.md 3 | -------------------------------------------------------------------------------- /setup.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocropus/hocr-tools/HEAD/setup.py -------------------------------------------------------------------------------- /test/.gitignore: -------------------------------------------------------------------------------- 1 | .tsht 2 | -------------------------------------------------------------------------------- /test/hocr-check/ancestor/notok-carea.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocropus/hocr-tools/HEAD/test/hocr-check/ancestor/notok-carea.html -------------------------------------------------------------------------------- /test/hocr-check/ancestor/notok-line.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocropus/hocr-tools/HEAD/test/hocr-check/ancestor/notok-line.html -------------------------------------------------------------------------------- /test/hocr-check/ancestor/notok-par.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocropus/hocr-tools/HEAD/test/hocr-check/ancestor/notok-par.html -------------------------------------------------------------------------------- /test/hocr-check/ancestor/ok-carea.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocropus/hocr-tools/HEAD/test/hocr-check/ancestor/ok-carea.html -------------------------------------------------------------------------------- /test/hocr-check/ancestor/ok-line.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocropus/hocr-tools/HEAD/test/hocr-check/ancestor/ok-line.html -------------------------------------------------------------------------------- /test/hocr-check/ancestor/ok-par.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocropus/hocr-tools/HEAD/test/hocr-check/ancestor/ok-par.html -------------------------------------------------------------------------------- /test/hocr-check/meta/notok-system.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocropus/hocr-tools/HEAD/test/hocr-check/meta/notok-system.html -------------------------------------------------------------------------------- /test/hocr-check/meta/notok-typo.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocropus/hocr-tools/HEAD/test/hocr-check/meta/notok-typo.html -------------------------------------------------------------------------------- /test/hocr-check/meta/ok-system.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocropus/hocr-tools/HEAD/test/hocr-check/meta/ok-system.html -------------------------------------------------------------------------------- /test/hocr-check/test-hocr-check.tsht: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocropus/hocr-tools/HEAD/test/hocr-check/test-hocr-check.tsht -------------------------------------------------------------------------------- /test/hocr-combine/test-hocr-combine.tsht: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocropus/hocr-tools/HEAD/test/hocr-combine/test-hocr-combine.tsht -------------------------------------------------------------------------------- /test/hocr-cut/test-hocr-cut.tsht: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocropus/hocr-tools/HEAD/test/hocr-cut/test-hocr-cut.tsht -------------------------------------------------------------------------------- /test/hocr-eval-geom/hocr-eval-geom.tsht: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocropus/hocr-tools/HEAD/test/hocr-eval-geom/hocr-eval-geom.tsht -------------------------------------------------------------------------------- /test/hocr-eval-lines/hocr-eval-lines.tsht: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocropus/hocr-tools/HEAD/test/hocr-eval-lines/hocr-eval-lines.tsht -------------------------------------------------------------------------------- /test/hocr-eval/hocr-eval.tsht: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocropus/hocr-tools/HEAD/test/hocr-eval/hocr-eval.tsht -------------------------------------------------------------------------------- /test/hocr-extract-images/test-hocr-extract-images.tsht: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocropus/hocr-tools/HEAD/test/hocr-extract-images/test-hocr-extract-images.tsht -------------------------------------------------------------------------------- /test/hocr-lines/hocr-lines.tsht: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocropus/hocr-tools/HEAD/test/hocr-lines/hocr-lines.tsht -------------------------------------------------------------------------------- /test/hocr-merge-dc/dcsample.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocropus/hocr-tools/HEAD/test/hocr-merge-dc/dcsample.xml -------------------------------------------------------------------------------- /test/hocr-merge-dc/dcsample2.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocropus/hocr-tools/HEAD/test/hocr-merge-dc/dcsample2.xml -------------------------------------------------------------------------------- /test/hocr-merge-dc/hocr-merge-dc.tsht: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocropus/hocr-tools/HEAD/test/hocr-merge-dc/hocr-merge-dc.tsht -------------------------------------------------------------------------------- /test/hocr-pdf/test-hocr-pdf.tsht: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocropus/hocr-tools/HEAD/test/hocr-pdf/test-hocr-pdf.tsht -------------------------------------------------------------------------------- /test/hocr-split/test-hocr-split.tsht: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocropus/hocr-tools/HEAD/test/hocr-split/test-hocr-split.tsht -------------------------------------------------------------------------------- /test/hocr-split/test.hocr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocropus/hocr-tools/HEAD/test/hocr-split/test.hocr -------------------------------------------------------------------------------- /test/hocr-wordfreq/hocr-wordfreq.tsht: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocropus/hocr-tools/HEAD/test/hocr-wordfreq/hocr-wordfreq.tsht -------------------------------------------------------------------------------- /test/smoke.tsht: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocropus/hocr-tools/HEAD/test/smoke.tsht -------------------------------------------------------------------------------- /test/testdata/alice_1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocropus/hocr-tools/HEAD/test/testdata/alice_1.png -------------------------------------------------------------------------------- /test/testdata/litver.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocropus/hocr-tools/HEAD/test/testdata/litver.html -------------------------------------------------------------------------------- /test/testdata/litver.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocropus/hocr-tools/HEAD/test/testdata/litver.png -------------------------------------------------------------------------------- /test/testdata/sample.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocropus/hocr-tools/HEAD/test/testdata/sample.html -------------------------------------------------------------------------------- /test/testdata/sample.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocropus/hocr-tools/HEAD/test/testdata/sample.txt -------------------------------------------------------------------------------- /test/testdata/tess.hocr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocropus/hocr-tools/HEAD/test/testdata/tess.hocr -------------------------------------------------------------------------------- /test/tsht: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ocropus/hocr-tools/HEAD/test/tsht --------------------------------------------------------------------------------