-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Fixing some issues in the dataset - Line typing using SegmOnto syntax to distinguish between handwritten textlines, machines typed and printed ones - fixing some incomplete lines - applying extra rules for superscript text and strikethrough text - fixing the position of several baselines * updating documentation and credits * updating control workflow * fixing typing error raised by HTRVX * adding badges * [Automatic] Update of the Catalog * fixing stupid conflict... * fixing stupid conflict... * [Automatic] Update the Catalog & the Badges --------- Co-authored-by: github-actions <[email protected]>
- Loading branch information
Showing
53 changed files
with
4,861 additions
and
4,469 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,95 @@ | ||
|
||
|
||
# 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 | ||
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 htruc | ||
- name: Run HTRUC | ||
run: | | ||
htruc test htr-united.yml | ||
HTR_United_Metadata_Generator: | ||
runs-on: ubuntu-latest | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
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 htr-united-metadata-generator htruc anybadge | ||
- name: Run Report | ||
run: | | ||
humGenerator --chars -n NFD --parse alto --group ./data/**/**/*.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' | ||
uses: andymckay/get-gist-action@master | ||
with: | ||
gistURL: https://gist.github.com/PonteIneptique/7813bb99f234b334fbf9c6c429ec2406 | ||
- name: Automatically update the Catalog & the Badges | ||
if: github.ref == 'refs/heads/main' | ||
run: |- | ||
htruc update-volumes htr-united.yml updated_metrics.json --inplace | ||
# Generate badges | ||
mkdir -p badges | ||
anybadge --value=${{ env.HTRUNITED_CHARS }} --file=badges/characters.svg --label=Characters --color=#007ec6 --overwrite --template=${{ steps.get.outputs.file }} | ||
anybadge --value=${{ env.HTRUNITED_REGNS }} --file=badges/regions.svg --label=Regions --color=#007ec6 --overwrite --template=${{ steps.get.outputs.file }} | ||
anybadge --value=${{ env.HTRUNITED_LINES }} --file=badges/lines.svg --label=Lines --color=#007ec6 --overwrite --template=${{ steps.get.outputs.file }} | ||
anybadge --value=${{ env.HTRUNITED_FILES }} --file=badges/files.svg --label="XML Files" --color=#007ec6 --overwrite --template=${{ steps.get.outputs.file }} | ||
git config user.name github-actions | ||
git config user.email [email protected] | ||
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/**/**/*.xml | ||
cat table.csv | ||
HTRVX: | ||
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 htrvx | ||
- name: Run HTRVX | ||
run: | | ||
htrvx --verbose --group --format alto --segmonto --xsd ./data/**/**/*.xml | ||
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,25 @@ | ||
# This CITATION.cff file was generated with cffinit. | ||
# Visit https://bit.ly/cffinit to generate yours today! | ||
|
||
cff-version: 1.2.0 | ||
message: "If you use the data set, please cite it as below." | ||
title: Memorials for Jane Lathrop Stanford | ||
message: >- | ||
If you use this dataset, please cite it using the metadata | ||
from this file. | ||
type: dataset | ||
authors: | ||
- family-names: 'Guimarães' | ||
given-names: 'Ingrid' | ||
- family-names: 'Maurel' | ||
given-names: 'Perrine' | ||
- family-names: 'Ozturk' | ||
given-names: 'Yagmur' | ||
title: "Memorials for Jane Lathrop Stanford" | ||
version: 1.0 | ||
doi: 10.5281/zenodo.6126625 | ||
date-released: 2022-02-15 | ||
url: "https://github.com/PSL-Chartes-HTR-Students/HN2021-Memorials_Jane_Lathrop_Stanford" | ||
type: "data" | ||
- given-names: Ingrid | ||
family-names: Guimarães | ||
- given-names: Perrine | ||
family-names: Maurel | ||
- given-names: Yagmur | ||
family-names: Ozturk | ||
- given-names: Alix | ||
family-names: Chagué | ||
orcid: 'https://orcid.org/0000-0002-0136-4434' | ||
identifiers: | ||
- type: doi | ||
value: 10.5281/zenodo.6126625 | ||
license: CC-BY-4.0 | ||
version: '1.0' | ||
date-released: '2022-02-15' |
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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.