ja-ginza
Japanese multi-task CNN trained on UD-Japanese BCCWJ r2.8 + GSK2014-A(2019). Assigns word2vec token vectors. Components: tok2vec, parser, ner, morphologizer, atteribute_ruler, compound_splitter, bunsetu_recognizer.
What it is and what it does
ja_ginza is a pre-trained spaCy model specialized for Japanese text analysis. It bundles a CNN trained on UD-Japanese BCCWJ r2.8 and GSK2014-A corpora, providing a complete NLP pipeline with seven components: tok2vec, parser, attribute_ruler, ner, morphologizer, compound_splitter, and bunsetu_recognizer. The model includes word2vec token vectors with 300 dimensions.
You install it as a Python package and load it through spaCy's standard interface. It works by processing Japanese text through its pipeline components, assigning linguistic annotations to each token and entity. The model achieves high accuracy on dependency parsing (90.95 UAS) and POS tagging (97.44), moderate accuracy on sentence segmentation (83.03 F), and lower accuracy on named entity recognition (55.40 F). It is maintained by Megagon Labs and actively used in production, though releases are infrequent.
Use it for:
- Extract named entities (people, places, organizations, dates) from Japanese documents for information extraction pipelines
- Parse Japanese sentence structure to understand grammatical relationships for machine translation or semantic analysis
- Tokenize and tag Japanese text with parts of speech for downstream NLP tasks like text classification or sentiment analysis
- Identify compound words and phrase boundaries (bunsetu) to improve Japanese text segmentation for search or indexing
- Build Japanese chatbots or question-answering systems that need to understand sentence structure and entity types
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
A pre-trained Japanese NLP model for spaCy that performs tokenization, dependency parsing, named entity recognition, part-of-speech tagging, and morphological analysis on Japanese text.
Yes, if you need Japanese NLP and are comfortable with spaCy 3.2.x. The model is actively maintained, permissively licensed, and provides a complete pipeline with strong parsing and tagging performance. Be aware that NER accuracy is moderate (55.40 F-score), so validate it on your data before relying on entity extraction in production. Install friction is low and no known vulnerabilities exist.
Install
ja-ginza on PyPI
pip
pip install ja-ginzauv
uv add ja-ginzapoetry
poetry add ja-ginzaInstalling ja-ginza
Before you install
Low install friction; distributed as a wheel. Actively maintained with recent commits. Last release was 867 days ago, indicating the project is established but not under continuous rapid development.
License in practice
MIT License permits commercial and private use with minimal restrictions, making it straightforward to integrate into most projects without licensing concerns.
Quickstart
import spacy
nlp = spacy.load('ja_ginza')
doc = nlp('すもももももももものうち')
for token in doc:
print(token.text, token.pos_, token.dep_)
Requires spaCy >=3.2.0,<3.3.0 and its runtime dependencies (spacy, sudachipy, sudachidict-core, ginza); model file download on first load.
Verify before relying
- Whether the model's NER performance (55.40 F-score) is sufficient for your use case, as it is notably lower than parsing accuracy
- Whether spaCy version constraints (>=3.2.0,<3.3.0) align with your environment
- Memory footprint and inference speed characteristics for production deployment
- Exact dimensions and count of word2vec token vectors included in the model
Package facts
| License | MIT License (permissive) |
| Python support | not specified |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 4 — spacy, sudachipy, sudachidict-core, ginza |
| Maintenance | actively maintained — 867 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 83,718/month — #14,053 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: ja_ginza-5.2.0-py3-none-any.whl
Tags
More Linguistic packages
Detects and normalizes text encoding from…
permissive · top 100 on PyPI
tiktokentiktoken is a fast BPE tokenizer that converts…
permissive · top 1,000 on PyPI
chardetDetects character encoding and language in byte…
permissive · top 1,000 on PyPI
text-unidecodeConverts Unicode text to ASCII by…
copyleft · top 1,000 on PyPI
larkLark is a parsing library that builds abstract…
permissive · top 1,000 on PyPI
tree-sitterPython bindings to the tree-sitter parsing…
permissive · top 1,000 on PyPI
ginzaGiNZA is a Japanese NLP library that performs…
permissive · top 15,000 on PyPI
nagisaNagisa performs Japanese word segmentation and…
permissive · top 5,000 on PyPI
JanomeJanome is a Japanese morphological analyzer…
permissive · top 15,000 on PyPI
spacyspaCy is an industrial-strength NLP library…
permissive · top 1,000 on PyPI
keyphrase-vectorizersExtracts keyphrases from text documents using…
permissive · top 15,000 on PyPI
SudachiDict-coreProvides the core edition of the Sudachi…
permissive · top 5,000 on PyPI
SudachiDict-fullProvides the full-edition Sudachi dictionary…
permissive · top 15,000 on PyPI
SudachiDict-smallProvides the small-edition Sudachi dictionary…
permissive · top 15,000 on PyPI
jieba3kPerforms Chinese word segmentation, breaking…
unclear · top 15,000 on PyPI
gensimGensim is a Python library for topic modeling,…
copyleft · top 5,000 on PyPI