COMBO-NLP Model for Japanese
Model Description
This is a Japanese-language model based on combo-nlp, an open-source natural language preprocessing system. It performs:
- sentence segmentation (via combo-seg)
- tokenisation (via combo-seg)
- part-of-speech tagging
- morphological analysis
- lemmatisation
- dependency parsing
The Japanese model uses FacebookAI/xlm-roberta-base as its base encoder and is trained on UD_Japanese-GSD (UD v2.17).
Evaluation
Evaluation was performed on the UD_Japanese-GSD test split using the standard CoNLL 2018 eval script.
Two evaluation rows are reported:
- Full-text (F1): raw text is segmented by combo-seg, then parsed and compared against gold — measures end-to-end pipeline performance including segmentation quality.
- Aligned accuracy: accuracy on correctly segmented (aligned) tokens — measures parsing quality on tokens that were correctly identified by the segmenter.
Morphosyntactic Tagging
| Metric | Tokens | Sentences | Words | UPOS | XPOS | UFeats | AllTags | Lemmas |
|---|---|---|---|---|---|---|---|---|
| Full-text (F1) | 98.21 | 96.27 | 98.29 | 97.24 | 96.40 | 98.28 | 96.08 | 97.08 |
| Aligned accuracy | 0.00 | 0.00 | 0.00 | 98.94 | 98.08 | 99.99 | 97.75 | 98.78 |
Dependency Parsing
| Metric | UAS | LAS | CLAS | MLAS | BLEX |
|---|---|---|---|---|---|
| Full-text (F1) | 91.66 | 90.62 | 86.45 | 84.60 | 84.87 |
| Aligned accuracy | 93.25 | 92.20 | 88.79 | 86.89 | 87.16 |
Usage
Install the library from PyPI (assuming you have a virtual environment created):
pip install combo-nlp
The combo-seg segmenter (used to split and
tokenise raw text) is installed automatically as a dependency of combo-nlp, so
no extra install step is needed.
from combo import COMBO
# Load a pre-trained model with the corresponding combo-seg segmenter
nlp = COMBO("Japanese")
# Parse raw text (handles sentence splitting + tokenization)
result = nlp("素早い茶色の狐が怠惰な犬を飛び越える。")
# Inspect results
for sentence in result:
for token in sentence:
print(f"{token.form:<15} {token.lemma:<15} {token.upos:<8} head={token.head} {token.deprel}")
Refer to the combo-nlp documentation for installation and usage instructions:
License
The training data license: cc-by-sa-4.0 is derived from the Universal Dependencies treebank. For the full license terms of each treebank, please refer to the corresponding LICENSE.txt file in the treebank repository:
Citation
If you use this model, please cite:
Ulewicz, M., Jabłońska, M., Klimaszewski, M., Przybyła, P., Pszenny, Ł., Rybak, P., Wiącek, M., & Wróblewska, A. (2026). COMBO-NLP Models Trained on UD v2.17. Zenodo. https://doi.org/10.5281/zenodo.19650523
@software{combo_nlp_2026,
author = {Ulewicz, Michał and Jabłońska, Maja and Klimaszewski, Mateusz and Przybyła, Piotr and Pszenny, Łukasz and Rybak, Piotr and Wiącek, Martyna and Wróblewska, Alina},
title = {{COMBO-NLP} Models Trained on {UD} v2.17},
year = {2026},
publisher = {Zenodo},
doi = {10.5281/zenodo.19650523},
url = {https://doi.org/10.5281/zenodo.19650523}
}
Resources
- combo-nlp: https://pypi.org/project/combo-nlp/
- combo-seg: https://pypi.org/project/combo-seg/
- UD_Japanese-GSD: https://github.com/UniversalDependencies/UD_Japanese-GSD
- Downloads last month
- 23