Skip to content

Commit

Permalink
Merge pull request #12 from HTR-United/addalto
Browse files Browse the repository at this point in the history
Adding ALTO version to transcriptions
  • Loading branch information
alix-tz authored Feb 8, 2024
2 parents 3d1c86c + aff8c17 commit 2053b7a
Show file tree
Hide file tree
Showing 437 changed files with 531,160 additions and 2 deletions.
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

0 comments on commit 2053b7a

Please sign in to comment.