#118 · Primary category: NLP Tools & Text Processing

trankit

adapters artificial-intelligence deeplearning dependency-parsing language-model lemmatization machine-learning morphological-tagging multilingual natural-language-processing nlp part-of-speech-tagging pytorch sentence-segmentation tokenization universal-dependencies xlm-roberta

Trankit is a Light-Weight Transformer-based Python Toolkit for Multilingual Natural Language Processing

Project last updated:07/22/25

GitHub Stars

798

Forks

106

Contributors

9

License

Apache-2.0

Why we included this project

Trankit is a transformer-based NLP toolkit that handles the usual text-processing chores across many languages: sentence segmentation, tokenization, part-of-speech and morphological tagging, dependency parsing, and named entity recognition. Its pretrained pipelines cover 56 languages and are built on XLM-RoBERTa, and the multilingual mode can detect the input language automatically, so you can throw mixed-language documents at it without picking a language first. The package is light enough to run on a laptop, and the Python API plus a command-line interface make it easy to script for research or embed in an application. You can also fine-tune the pipelines on your own data instead of being stuck with the pretrained models.

Articles for this project

No articles for this project yet.

To suggest a topic or contribute an article, contact us.

Related projects in this category