https://github.com/bertsky/ocrd_page2tei
OCR-D wrapper for page2tei
Science Score: 23.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
○.zenodo.json file
-
○DOI references
-
○Academic publication links
-
✓Committers with academic emails
1 of 1 committers (100.0%) from academic institutions -
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (11.5%) to scientific vocabulary
Keywords
Repository
OCR-D wrapper for page2tei
Basic Info
Statistics
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 0
- Releases: 0
Topics
Metadata Files
README.md
ocrd_page2tei
OCR-D wrapper for [page2tei](https://github.com/tboenig/page2tei)
Introduction
This offers an OCR-D compliant workspace processor for TEI conversion.
It wraps the XSL transformation page2tei for OCR-D:
For XSL processing, it uses Saxon.
For handling METS/PAGE, and providing the OCR-D CLI, it is written as a shell script, and relies heavily on the OCR-D core bashlib API.
Installation
Requires Java>=8, Saxon and GNU make.
To install system dependencies on Ubuntu, do
sudo make deps-ubuntu
Which is the equivalent of:
apt install openjdk-8-jre-headless
To install local dependencies (download Saxon and page2tei), do
make deps
To install this module, then do:
make install
Usage
OCR-D processor interface ocrd-page2tei
To be used with PAGE-XML documents in an OCR-D annotation workflow.
``` Usage: ocrd-page2tei [OPTIONS]
Convert PAGE-XML to TEI-C
Options: -I, --input-file-grp USE File group(s) used as input -O, --output-file-grp USE File group(s) used as output -g, --page-id ID Physical page ID(s) to process --overwrite Remove existing output pages/images (with --page-id, remove only those) -p, --parameter JSON-PATH Parameters, either verbatim JSON string or JSON file path -P, --param-override KEY VAL Override a single JSON object key-value pair, taking precedence over --parameter -m, --mets URL-PATH URL or file path of METS to process -w, --working-dir PATH Working directory of local workspace -l, --log-level [OFF|ERROR|WARN|INFO|DEBUG|TRACE] Log level -J, --dump-json Dump tool description as JSON and exit -h, --help This help message -V, --version Show version
```
Testing
none yet
Owner
- Name: Robert Sachunsky
- Login: bertsky
- Kind: user
- Repositories: 114
- Profile: https://github.com/bertsky
GitHub Events
Total
Last Year
Committers
Last synced: 11 months ago
Top Committers
| Name | Commits | |
|---|---|---|
| Robert Sachunsky | s****y@i****e | 3 |
Committer Domains (Top 20 + Academic)
Issues and Pull Requests
Last synced: 11 months ago
All Time
- Total issues: 1
- Total pull requests: 0
- Average time to close issues: 24 minutes
- Average time to close pull requests: N/A
- Total issue authors: 1
- Total pull request authors: 0
- Average comments per issue: 1.0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 0
- Pull requests: 0
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Issue authors: 0
- Pull request authors: 0
- Average comments per issue: 0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
- kba (1)