rhoknp
Yet another Python binding for Juman++/KNP/KWJA
Decision gist · record as of 2026-08-14
Yes. rhoknp is actively maintained, has no known vulnerabilities, and offers low install friction. It is the recommended choice if you need a modern, type-safe Python interface to Japanese morphological and syntactic analysis tools. Install it if you are working with Japanese NLP and require access to Juman++, KNP, or KWJA; note that the underlying analysis engines may need separate installation depending on your use case.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.10+.
- The underlying Juman++, KNP, or KWJA tools must be installed separately on your system for morphological analysis and parsing to work; rhoknp alone provides data structure and serialization support.
- Low install friction with a pure-wheel distribution.
License · maintenance · safety
MIT (permissive) — MIT license permits unrestricted use, modification, and distribution with minimal restrictions, making it suitable for both open-source and commercial projects.
last release 2025-11-02 (285 days) · last repo commit 2026-08-03 · 40 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 103,165 downloads/mo, #12,826 on PyPI
Alternatives
Verify before relying
pip install rhoknp
import rhoknp
jumanpp = rhoknp.Jumanpp()
sentence = jumanpp.apply_to_sentence("電気抵抗率は電気の通しにくさを表す物性値である。")
for morpheme in sentence.morphemes:
print(morpheme)- Whether Juman++, KNP, or KWJA must be installed separately on the system for rhoknp to function beyond basic data structure handling
- Performance characteristics and typical processing speed for document-level analysis on typical input sizes
What it is and what it does
rhoknp wraps three Japanese language processing engines—Juman++ for morphological analysis, KNP for syntactic and semantic parsing, and KWJA for advanced discourse analysis—into a unified Python API. It provides type-annotated classes for working with Japanese linguistic units (morphemes, phrases, clauses, sentences, documents) and supports serialization to and from standard analysis formats.
The package is designed for researchers and developers working with Japanese NLP pipelines. It handles both sentence-level and document-level analysis, allowing you to load raw text, apply morphological or syntactic analysis, traverse the resulting linguistic structures, and persist results in standard formats. The main distinction from the older pyknp binding is comprehensive type annotations, document-level analysis support, and a redesigned API reflecting current use cases.
Use it for
- Perform morphological analysis on Japanese text to extract individual word forms and their grammatical properties
- Parse Japanese sentences into syntactic structures (phrases, clauses) for linguistic research or downstream NLP tasks
- Load and manipulate pre-analyzed Japanese text in JUMAN or KNP formats for batch processing or data exploration
- Build document-level Japanese NLP pipelines that preserve cohesion and discourse relations across multiple sentences
- Serialize linguistic analysis results for storage, sharing, or integration with other Japanese language processing tools
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes.
rhoknp is actively maintained, has no known vulnerabilities, and offers low install friction. It is the recommended choice if you need a modern, type-safe Python interface to Japanese morphological and syntactic analysis tools. Install it if you are working with Japanese NLP and require access to Juman++, KNP, or KWJA; note that the underlying analysis engines may need separate installation depending on your use case.
Install
rhoknp on PyPI
Before you install
Low install friction with a pure-wheel distribution. Actively maintained with recent commits and no known vulnerabilities. Single lightweight runtime dependency (typing-extensions) and Python 3.10+ support across current versions.
Requires Python 3.10+. The underlying Juman++, KNP, or KWJA tools must be installed separately on your system for morphological analysis and parsing to work; rhoknp alone provides data structure and serialization support.
License in practice
MIT license permits unrestricted use, modification, and distribution with minimal restrictions, making it suitable for both open-source and commercial projects.
Quickstart
pip install rhoknp
import rhoknp
jumanpp = rhoknp.Jumanpp()
sentence = jumanpp.apply_to_sentence("電気抵抗率は電気の通しにくさを表す物性値である。")
for morpheme in sentence.morphemes:
print(morpheme)
Verify before relying
- Whether Juman++, KNP, or KWJA must be installed separately on the system for rhoknp to function beyond basic data structure handling
- Performance characteristics and typical processing speed for document-level analysis on typical input sizes
Package facts
| License | MIT permissive |
| Python support | Supports the current Python release >=3.10 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 1 packagetyping-extensions |
| Maintenance | Actively maintained 285 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 103,165 / month, #12,826 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | License :: OSI Approved :: MIT LicenseNatural Language :: JapaneseOperating System :: MacOSOperating System :: MacOS :: MacOS XOperating System :: Microsoft :: WindowsOperating System :: POSIX :: LinuxProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Topic :: Scientific/EngineeringTopic :: Software Development :: LibrariesTopic :: Software Development :: Libraries :: Python ModulesTopic :: Text ProcessingTopic :: Text Processing :: Linguistic |
Evidence: rhoknp-1.8.0-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “juman++ python binding”
- rhoknprhoknp is a Python binding for Japanese language processing tools…
- shiboken2Shiboken2 provides Python access to metadata and utilities for…
- ccimportccimport builds Python C++ bindings on-the-fly using pybind11 and…
Give your agent the search over MCP, or paste the wish link into any chat.
More Libraries packages
urllib3 is an HTTP client library that provides thread-safe connection pooling, SSL/TLS verification, multipart file uploads, request retries, compression support, and proxy handling for Python applications.
Requests is a Python HTTP library that simplifies sending HTTP/1.1 requests with automatic handling of headers, authentication, cookies, and response parsing.
Pluggy provides a plugin system that lets you define hook specifications and register implementations to be called in sequence, enabling extensible Python applications without tight coupling.
Install it if you're building an extensible application or framework.
Provides parsing, arithmetic, and recurrence rule computation for dates and times, with timezone support and iCalendar RFC compliance.
Install it if you need to parse flexible date strings, compute relative dates, handle timezones, or work with recurrence rules—it's the de facto choice for these tasks.
Six provides utility functions to write Python code that runs on both Python 2.7 and Python 3.3+, smoothing over language differences between the two versions.
pytest is a testing framework that lets you write test functions using plain assert statements and automatically discovers and runs them, with detailed failure reporting.
See also mecab · SudachiPy · python-mecab-ko · Janome · kiwipiepy · SudachiDict-core · SudachiDict-small · SudachiDict-full · fugashi · kiwipiepy-model