udtools
Python tools for Universal Dependencies
Decision gist · record as of 2026-08-14
Yes, if you work with Universal Dependencies data or need to validate CoNLL-U files. The package is actively maintained, has low install friction, and provides the official validator and scorer. The copyleft license is a consideration for proprietary work. Note that pip-installed versions may not have the most current language-specific data; clone the authoritative repository if you need cutting-edge specifications.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.10 or later.
- Low install friction with only two runtime dependencies (udapi and regex).
- Active maintenance with a recent release 57 days ago and ongoing repository activity.
License · maintenance · safety
GPL-2.0-or-later (copyleft) — GPL-2.0-or-later copyleft license means any derivative work or distribution must also be open-source under a compatible license; suitable for research and open-source projects but requires careful consideration in proprietary contexts.
last release 2026-06-18 (57 days) · last repo commit 2026-08-13 · 220 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 251,021 downloads/mo, #8,602 on PyPI
Alternatives
Verify before relying
pip install udtools
from udtools import Validator
validator = Validator(lang='la', output=None)
state = validator.validate_files(['la_proiel-ud-train.conllu'])
if state:
print('Validation passed')
else:
print('Validation failed')- Whether language-specific data files bundled with pip releases stay current with the authoritative UD specification
- Performance characteristics when validating very large treebanks or many files in sequence
What it is and what it does
udtools provides the official validator and scoring tools for Universal Dependencies, a cross-linguistic annotation framework. It reads CoNLL-U formatted files and checks compliance with UD specifications across multiple validity levels, from basic file structure to detailed linguistic annotation rules. The package also includes the official parsing scorer used in CoNLL and IWPT shared tasks.
The validator can be invoked from the command line or imported as a Python library. When used programmatically, it returns a State object containing validation results that can be inspected for errors and warnings, optionally suppressing console output. The validator supports language-specific checks and can load custom data files from a local UD tools repository, though the pip-installed version may lag behind the authoritative specification.
Use it for
- Validate CoNLL-U treebank files before submission to Universal Dependencies releases or shared task competitions.
- Integrate validation into a linguistic annotation pipeline to catch format and specification violations early.
- Score dependency parsing system outputs against gold-standard UD treebanks in research or evaluation workflows.
- Check compliance of custom language-specific UD annotations with the framework's rules and feature inventories.
- Batch-validate multiple treebank files and collect structured error reports for quality assurance.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you work with Universal Dependencies data or need to validate CoNLL-U files.
The package is actively maintained, has low install friction, and provides the official validator and scorer. The copyleft license is a consideration for proprietary work. Note that pip-installed versions may not have the most current language-specific data; clone the authoritative repository if you need cutting-edge specifications.
Install
udtools on PyPI
Before you install
Low install friction with only two runtime dependencies (udapi and regex). Active maintenance with a recent release 57 days ago and ongoing repository activity.
Requires Python 3.10 or later.
License in practice
GPL-2.0-or-later copyleft license means any derivative work or distribution must also be open-source under a compatible license; suitable for research and open-source projects but requires careful consideration in proprietary contexts.
Quickstart
pip install udtools
from udtools import Validator
validator = Validator(lang='la', output=None)
state = validator.validate_files(['la_proiel-ud-train.conllu'])
if state:
print('Validation passed')
else:
print('Validation failed')
Verify before relying
- Whether language-specific data files bundled with pip releases stay current with the authoritative UD specification
- Performance characteristics when validating very large treebanks or many files in sequence
Package facts
| License | GPL-2.0-or-later copyleft |
| Python support | Supports the current Python release >=3.10 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 2 packagesudapiregex |
| Maintenance | Actively maintained 57 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 251,021 / month, #8,602 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 2 - Pre-AlphaIntended Audience :: Science/ResearchOperating System :: OS IndependentProgramming Language :: Python :: 3 |
Evidence: udtools-0.2.8-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “universal dependencies validator”
- udtoolsValidates CoNLL-U format files against Universal Dependencies…
- udapiUdapi is a Python framework for reading, processing, and manipulating…
- ginzaGiNZA is a Japanese NLP library that performs tokenization,…
Give your agent the search over MCP, or paste the wish link into any chat.
More Linguistic packages
Detects and normalizes text encoding from unknown or ambiguous sources, supporting all IANA character sets that Python's core library provides codecs for, with the ability to register custom codecs.
tiktoken is a fast BPE tokenizer that converts text into token sequences compatible with OpenAI models, supporting multiple encoding schemes including o200k_base and model-specific encodings.
Install it if you work with OpenAI APIs or need to understand token boundaries in GPT-family models.
Detects character encoding and language in byte sequences with high accuracy, supporting 99 encodings and returning confidence scores, language tags, and MIME types.
Install it if you need to detect character encoding or language in byte data; the rewrite makes it substantially faster and more accurate than its predecessors.
Converts Unicode text to ASCII by transliterating non-ASCII characters into their closest ASCII equivalents, with no runtime dependencies.
However, if transliteration quality or ongoing maintenance matters, consider unidecode instead despite its GPL-only license.
Lark is a parsing library that builds abstract syntax trees from context-free grammars, supporting multiple parsing algorithms (Earley, LALR(1), CYK) with automatic line and column tracking.
Python bindings to the tree-sitter parsing library, enabling incremental parsing and syntax tree analysis for source code.
See also udapi · conllu · confu · ginza · lemminflect · swagger-spec-validator · stix2-validator · iregexp-check · simplemma · stanza