skillfed

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.

ja-ginza v5.2.0 83.7K downloads/30d#14,053 on PyPI867
Permissive license MIT License Active released

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-ginza

uv

uv add ja-ginza

poetry

poetry add ja-ginza

Installing 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

japanese nlp spacy modeljapanese dependency parsingjapanese named entity recognitionjapanese morphological analysisjapanese text processingspacy japanese tokenizerjapanese pos tagging
japanese-nlpspacy-modelpretrained

More Linguistic packages