https://github.com/alexeyev/tratreetra
simple syntactic transfer based on the treebank translation
Science Score: 23.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
○.zenodo.json file
-
○DOI references
-
✓Academic publication links
Links to: arxiv.org -
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (11.5%) to scientific vocabulary
Keywords
Repository
simple syntactic transfer based on the treebank translation
Basic Info
Statistics
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
- Releases: 0
Topics
Metadata Files
README.md
Simple Syntactic Transfer Based on the Treebank Translation Method
Intended use
Given
* the sentence in the language of interest (LRL, e.g. Kyrgyz),
* the translation of the sentence to the more resourced language (e.g. Turkish),
* the dependency parser (UD) for the more resourced language (e.g. Stanza-UD_BOUN-BERT),
* the alignment model of your liking (source language should be the language of interest),
* the morphological analyzer including PoS tags (Universal Tagset) for the language of interest (e.g. apertium-kir; note that it must not modify the tokenization),
generate a dependency tree for the sentence in the target language.
Clearly, it's far from perfect, but may still be useful to speed up the manual treebank annotation. Please see the paper for more details.
UPD: Installable via PIP: https://pypi.org/project/tratreetra/
Example
We have provided some bindings to the popular libraries in tratreetra/models.py; the appropriate versions of these libraries should be installed, please consult the respective docstrings.
The example code in example/example.py reproduces one of the results from the paper:
Stanza-IMST-charlmSimAlign-XLMRapertium-kir(without morphological disambiguation)- Translation via
ChatGPT4o
Please see more details in the example/README.
The paper
The paper is still in print, the preprint on arXiv has been published. Russian version of the paper in the original version of the journal (Zapiski Nauchnyh Seminarov POMI) is also available now.
If you use our tool, we'll be grateful if you cite it as follows:
bibtex
@article{atkn2025syntax,
author = {Alekseev, Anton and Tillabaeva, Alina and Kabaeva, Gulnara Dzh. and Nikolenko, Sergey I.},
title = {{Syntactic Transfer to Kyrgyz Using the Treebank Translation Method (in print)}},
journal = {To appear in the Journal of Mathematical Sciences},
publisher = {Springer},
year = {2025}
}
TODO
- Thoughtful approach to data structures
- Profile the code
- Tests
- Redesign logging
Owner
- Name: Anton Alekseev
- Login: alexeyev
- Kind: user
- Website: https://ai.pdmi.ras.ru/
- Repositories: 52
- Profile: https://github.com/alexeyev
GitHub Events
Total
- Push event: 8
- Create event: 2
Last Year
- Push event: 8
- Create event: 2
Issues and Pull Requests
Last synced: 7 months ago
All Time
- Total issues: 0
- Total pull requests: 0
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Total issue authors: 0
- Total pull request authors: 0
- Average comments per issue: 0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 0
- Pull requests: 0
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Issue authors: 0
- Pull request authors: 0
- Average comments per issue: 0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
Pull Request Authors
Top Labels
Issue Labels
Pull Request Labels
Packages
- Total packages: 1
-
Total downloads:
- pypi 9 last-month
- Total dependent packages: 0
- Total dependent repositories: 0
- Total versions: 1
- Total maintainers: 1
pypi.org: tratreetra
Syntactic transfer from more resourced languages: TRAnslating TREEbanks for Syntactic TRAnsfer.
- Homepage: https://github.com/alexeyev/tratreetra
- Documentation: https://tratreetra.readthedocs.io/
- License: MIT License
-
Latest release: 0.1
published about 1 year ago
Rankings
Maintainers (1)
Dependencies
- conllu >=6.0.0
- sacrebleu >=2.4.3
- scipy >=1.14.1