• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

grobidOrg / grobid
43%
master: 43%

Build:
Build:
LAST BUILD BRANCH: feature/use-outline-to-structure-head
DEFAULT BRANCH: master
Repo Added 19 Jan 2026 12:58PM UTC
Token teyP78tECFj7GsoLVxxuREI5tGJlxw8Ge regen
Build 507 Last
Files 334
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

LAST BUILD ON BRANCH feature/training-xml-t
branch: feature/training-xml-t
CHANGE BRANCH
x
Reset
Sync Branches
  • feature/training-xml-t
  • 0.9.0
  • bugfix/add-priority-content-type
  • bugfix/avoid-IOBE-in-orcid-search
  • bugfix/codespell-round-two
  • bugfix/correct-git-revision
  • bugfix/docker-arm
  • bugfix/docker-full-build
  • bugfix/fix-149
  • bugfix/fix-15
  • bugfix/fix-671
  • bugfix/fix-728
  • bugfix/fix-849
  • bugfix/fix-classification-delft
  • bugfix/fix-doi-search
  • bugfix/glutton-healthcheck-path
  • bugfix/improve-regexes
  • bugfix/issue-1024
  • bugfix/issue-1355
  • bugfix/issue-271
  • bugfix/issue-465
  • bugfix/issue-512
  • bugfix/issue-716
  • bugfix/issue-849
  • bugfix/issue-920
  • bugfix/jep-env-uv
  • bugfix/jep-shutdown-deadlock
  • bugfix/model-selection-flavours
  • bugfix/patch-lmdb
  • bugfix/reference-segmenter-createTraining
  • bugfix/sentence-segmentation-detection
  • bugfix/spotless
  • bugfix/support-missing-dir
  • bugfix/ziputils-security-advisor
  • bugfixes/docker-retag
  • bugix/correct-revision
  • chore/dependabot
  • chore/remove-powermock
  • chore/remove-unused-models
  • ci/reduce-coveralls
  • ci/release-automation
  • ci/support-forks
  • copilot/fix-founders-extraction-issue
  • copilot/fix-null-pointer-exception
  • copilot/fix-paragraph-segmentation-issue
  • copilot/fix-tokenizer-language-sensitivity
  • copilot/fix-wapiti-jni-space-argument
  • copilot/improve-article-metadata-merging
  • copilot/make-evaluation-friendlier
  • copilot/possibility-to-list-ongoing-trainings
  • dependabot/github_actions/actions/checkout-7
  • dependabot/github_actions/actions/setup-java-5
  • dependabot/github_actions/actions/setup-python-6
  • dependabot/github_actions/docker/build-push-action-7
  • dependabot/github_actions/docker/login-action-4
  • dependabot/github_actions/docker/setup-buildx-action-4
  • dependabot/github_actions/github/codeql-action-4
  • dependabot/github_actions/gradle/actions-6
  • dependabot/github_actions/mikepenz/action-junit-report-6
  • display-version-in-ui
  • docs/improvements
  • feature/add-api-status-in-ui
  • feature/add-code-cleaning
  • feature/add-ignore-areas-api
  • feature/add-pdf-tei-editor
  • feature/affiliation-linked-evaluation
  • feature/apache-licence-header
  • feature/auto-update-hf-space
  • feature/blingfire
  • feature/code-formatting
  • feature/codeql
  • feature/codespell
  • feature/coi-ac
  • feature/coi-ac-update-light-models
  • feature/community-page
  • feature/development-api
  • feature/docker-summary
  • feature/documentation
  • feature/extract-any-url-in-fulltext
  • feature/fix-bibtex-index
  • feature/improve-actions
  • feature/improve-documentation
  • feature/issue-to-documentation
  • feature/literature-law-flavour
  • feature/literature-law-flavour-eval
  • feature/literature-law-flavour-experiment
  • feature/literature-law-flavour-experiments
  • feature/middle-name-bibtex
  • feature/onnx-models
  • feature/onnx-models-perf
  • feature/onnx-models-perfs
  • feature/otlp-metrics-push
  • feature/prepare-release
  • feature/refactor-tei-formatter
  • feature/refactor-trainers
  • feature/remove-unused-lexicons
  • feature/rename-ui-items
  • feature/revise-consolidation
  • feature/rewrite-overloaded
  • feature/sync-crf-manual-build
  • feature/unpin-lmdb-delft
  • feature/update-benchmarks
  • feature/update-copyright
  • feature/update-delft
  • feature/update-dependencies
  • feature/update-doc-flavor-dev
  • feature/update-editorconfig
  • feature/update-lingua
  • feature/use-outline-to-structure-head
  • feture/update-documentation
  • fix/pdfalto-memory-limit-macos
  • hotfix/0.9.0-docker
  • improvement/affiliation-author
  • improvement/fix-lexicon
  • improvements/fails-on-failures
  • improvements/speed-up-ci
  • master
  • multi-arch-docker-image
  • publish/0.9.0-central
  • release/0.9.0
  • rootless
  • rootless-docker
  • security/cmdinjection-threadleak
  • security/jline-cmdinjection-threadleak
  • security/update-dependencies
  • tensorflow-2.16
  • tensorflow-2.16-docker-full

16 Jul 2026 04:15PM UTC coverage: 42.524% (+2.5%) from 40.04%
29514855442

Pull #1508

github

lfoppiano
fix: do not prepend the underscore to training file names, only to xml:id

The leading underscore is an NCName constraint that only applies to the
xml:id values in the generated TEI. Split TextUtilities.sanitizeXmlId
into sanitizeFileName (character replacement only), used for the
training file names, and sanitizeXmlId which additionally prepends the
underscore when the name starts with a character not allowed as first
NCName character. Trainers resolving the feature file from the xml:id
strip the leading underscore, as TEIHeaderSaxParser.getPDFName already
does.

Signed-off-by: Luca Foppiano <luca@foppiano.org>
Pull Request #1508: Make the xml:id of the training generated files a valid NCName

9841 of 25340 branches covered (38.84%)

Branch coverage included in aggregate %.

20524 of 46066 relevant lines covered (44.55%)

1.8 hits per line

Relevant lines Covered
Build:
Build:
46066 RELEVANT LINES 20524 COVERED LINES
1.8 HITS PER LINE
Source Files on feature/training-xml-t
  • Tree
  • List 333
  • Changed 23
  • Source Changed 0
  • Coverage Changed 23
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
29514855442 feature/training-xml-t fix: do not prepend the underscore to training file names, only to xml:id The leading underscore is an NCName constraint that only applies to the xml:id values in the generated TEI. Split TextUtilities.sanitizeXmlId into sanitizeFileName (charact... Pull #1508 16 Jul 2026 04:31PM UTC lfoppiano github
42.52
29488981424 feature/training-xml-t chore: spotless Signed-off-by: Luca Foppiano <luca@foppiano.org> Pull #1508 16 Jul 2026 10:10AM UTC lfoppiano github
42.52
29486300841 feature/training-xml-t fix: address security concerns Signed-off-by: Luca Foppiano <luca@foppiano.org> Pull #1508 16 Jul 2026 09:28AM UTC lfoppiano github
42.52
29480326900 feature/training-xml-t fix: show only pdf files in create training bach mode Signed-off-by: Luca Foppiano <luca@foppiano.org> Pull #1508 16 Jul 2026 07:48AM UTC lfoppiano github
42.53
29460035169 feature/training-xml-t fix: filename used in xml:id to be compliant with the TEI standard Signed-off-by: Luca Foppiano <luca@foppiano.org> Pull #1508 16 Jul 2026 12:12AM UTC lfoppiano github
42.54
See All Builds (507)

Badge your Repo: grobid

We detected this repo isn’t badged! Grab the embed code to the right, add it to your repo to show off your code coverage, and when the badge is live hit the refresh button to remove this message.

Could not find badge in README.

Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

Refresh
  • Settings
  • Repo on GitHub
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc