- for UD < 2.15, split genus from legacy family strings like 'Family, Genus'
- for UD >= 2.15, keep explicit genus field from codes_and_flags unchanged
Unify release-handle mapping and harden tools pipeline
**Added:**
- Updated ud-hf-parquet-tools to pinned tag version v1.1.0
- Added `jinja2>=3.1.6` for `uv run` support
**Changed:**
- Removed shebang --script usage (use `uv run` with dependencies in
`pyproject.toml`)
- Removed ar_nyuad configuration from dataset card
- Removed ja_bccwj configuration from dataset card
- Both treebanks moved to blocked status (license restrictions)
- `02_generate_metadata.py` now uses output formatting
**Fixed:**
- Corrected dataset card configs by excluding blocked treebanks
- Updated README-2.17 metadata to reflect dataset configuration
See CHANGELOG.md for full details.
Created comprehensive guide for releasing new framework versions (e.g., v2.0 → v2.1),
distinct from adding new UD data versions (e.g., UD 2.17 → 2.18).
**Key Sections:**
1. **Framework vs. Data Versioning**
- Clear distinction between framework versions and UD data versions
- Framework applies to all UD data branches
2. **When to Release** (Semantic Versioning)
- Major: Breaking changes (v2.0 → v3.0)
- Minor: New features (v2.0 → v2.1)
- Patch: Bug fixes (v2.0.0 → v2.0.1)
3. **Release Checklist** (12 steps)
- Update version numbers (pyproject.toml)
- Update CHANGELOG.md
- Update documentation
- Test thoroughly
- Apply to all UD data branches
- Create git tags
- Create GitHub release
- Update HuggingFace Hub
- Announce release
4. **Testing Strategy**
- Test matrix for multiple UD versions
- Schema validation
- Data integrity checks
- Backwards compatibility
- Rollback plan
5. **Common Scenarios**
- Bug fix release (patch)…
Disentangle tools/README.md and ADDING_NEW_UD_VERSION.md
**tools/README.md:**
- Rewrote as concise quick reference for experienced developers
- Focus on commands, not explanations
- Added "Quick Start" section with complete workflow
- Documented all pipeline scripts (00-05)
- Added directory structure diagram
- Included configuration examples
- Added common operations and troubleshooting
- References ADDING_NEW_UD_VERSION.md for detailed guide
**ADDING_NEW_UD_VERSION.md:**
- Maintained as comprehensive guide for new contributors
- Updated all outdated script references:
- 02_traverse_ud_repos.py → 02_generate_metadata.py
- 03_fill_universal_dependencies_tamplate.py → 03_generate_README.py
- Removed all references to universal_dependencies.py (no longer exists)
- Added explanations for each step ("What is...?", "Why...?")
- Kept troubleshooting section with detailed solutions
- Kept timeline estimates and checklist
- References tools/README.md for technical details
- Updated to reflect v2.0 architecture:
- Parquet-only format (no Pytho…
Update MIGRATION.md for external ud-hf-parquet-tools library
Major updates to reflect architectural changes:
**New Section: Helper Functions Moved to External Library**
- Documents that parse_feats, parse_misc, write_conllu, etc. are no longer
part of the dataset
- Provides installation instructions for ud-hf-parquet-tools package
- Shows updated import examples using the external library
- Includes alternative for users who don't need helper functions (work with
raw strings directly)
**Updated "What's New" Section**
- Added overview of architecture changes (Parquet, no Python script, external
helper library)
- Clarified data changes (MWT bug fix, new MWT field, enhanced metadata)
**New Issue: Helper Function Import Errors**
- Added Issue 4 documenting ImportError when trying to import from
non-existent universal_dependencies module
- Provides clear solution with installation and import examples
**Enhanced Summary**
- Added "v2.0 is modular" to key takeaways
- Updated migration checklist with helper library installation steps
- Separ…
- Update tools/README.md workflow to use new script names:
- 02_traverse_ud_repos.py → 02_generate_metadata.py
- 03_fill_universal_dependencies_tamplate.py → 03_generate_README.py
- Remove references to universal_dependencies-VERSION files (no longer generated)
- Update CONLLU_PARSING_ISSUES.md references to point to ud-hf-parquet-tools repo
- Update templates/README.tmpl with correct documentation link
- Regenerate README-2.17 from updated template
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Rename 02_traverse_ud_repos.py to 02_generate_metadata.py
The script name now better reflects its purpose of generating metadata.json
files from UD repository directories.
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Remove all generated universal_dependencies{.py,-VERSION} files
- Renamed 03_fill_universal_dependencies_tamplate.py to 03_generate_README.py
- Script now only generates README-{UD_VER}, not universal_dependencies-{UD_VER}
- Removed templates/universal_dependencies.tmpl (no longer needed)
- Updated docstring to reflect new focused purpose
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Regenerate metadata and README with blocked treebank filtering
- metadata-2.17.json now includes "blocked" property for all treebanks
- README-2.17 filters out blocked treebanks (pt_cintil) from configs
- Blocked treebanks are identified via tools/blocked_treebanks.yaml
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
- Add conditional check to skip blocked treebanks in configs section
- Only treebanks with metadata.blocked == False will appear in dataset card
- Ensures blocked treebanks (e.g., pt_cintil) don't show in HuggingFace UI
This prevents users from seeing configs for treebanks that have no
parquet files due to license restrictions.
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Add blocked treebank tracking to metadata generation
- Read tools/blocked_treebanks.yaml during metadata collection
- Add "blocked" property to each treebank in metadata:
- True if treebank is in blocked_treebanks.yaml
- False otherwise
- Log when treebanks are marked as blocked with reason
This allows downstream tools to check the metadata for blocked
status without needing to separately load the YAML file.
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
- Change from dataset_info to configs format in README template
- Use data_files with parquet paths instead of features schema
- Add uv index configuration to pyproject.toml for PyPI and TestPyPI
- Set en_ewt as default config
- Simplify README structure (removed redundant feature definitions)
- Add TODO note about helper functions post v2.0
This aligns with HuggingFace's current dataset card standards
and the new parquet-based distribution model.
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This documentation has been moved to the ud-hf-parquet-tools library
where it belongs, as CONLLU_PARSING.md:
https://github.com/bot-zen/ud-hf-parquet-tools/blob/main/CONLLU_PARSING.md
The library documentation is more comprehensive and includes:
- All 7 parsing challenges with examples
- Affected treebank statistics
- Implementation details and code locations
- Testing and validation procedures
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Add --blocked-treebanks flag to parquet generator
- Added support for --blocked-treebanks argument
- Defaults to tools/blocked_treebanks.yaml
- Automatically filters out treebanks with license restrictions
- Updated usage documentation
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Fix wrapper scripts to use correct library version
- Removed debug output from wrapper scripts
- Added developer notes about using 'python' for local development
- Confirmed --overwrite flag works correctly when calling library
The issue was that 'uv run --script' uses cached PyPI versions
instead of local editable installs. For development, run with
'python tools/04_generate_parquet.py' to use local library changes.
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This will help diagnose issues with argument passing to the library.
Shows the exact command line being constructed and passed to ud-hf-parquet-tools.
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>