Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding ALTO version to transcriptions #12

Merged
merged 3 commits into from
Feb 8, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
26 changes: 24 additions & 2 deletions .github/workflows/htr-united-workflows.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@


# This file has been generated automatically with HTR-United <3 Github Actions form
name: HTR United Workflow
'on':
- push
- pull_request
permissions:
contents: write
jobs:
HTRUC:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -35,7 +39,7 @@ jobs:
pip install htr-united-metadata-generator htruc anybadge
- name: Run Report
run: |
humGenerator --parse alto --group ./data/**/*.xml --github-envs --to-json updated_metrics.json --chars -n NFD
humGenerator --chars -n NFD --parse page --group ./data/**/page/*.xml --github-envs --to-json updated_metrics.json
cat envs.txt >> $GITHUB_ENV
- name: Get HTR United Badge Template
if: github.ref == 'refs/heads/main'
Expand All @@ -57,6 +61,22 @@ jobs:
git add htr-united.yml ./badges/
git commit -m "[Automatic] Update the Catalog & the Badges" || echo "Nothing to commit"
git push || echo "Nothing to push"
ChocoMufin:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.8
uses: actions/setup-python@v2
with:
python-version: 3.8
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install chocomufin
- name: Run ChocoMufin
run: |
chocomufin generate table.csv ./data/**/page/*.xml
cat table.csv
HTRVX:
runs-on: ubuntu-latest
steps:
Expand All @@ -71,4 +91,6 @@ jobs:
pip install htrvx
- name: Run HTRVX
run: |
htrvx --verbose --group --format page --check-empty ./data/**/*.xml
htrvx --verbose --group --format page --check-empty --xsd ./data/**/page/*.xml
htrvx --verbose --group --format alto --check-empty --xsd ./data/**/alto/*.xml

Loading
Loading