Yet another Python binding for Juman++/KNP/KWJA. Current version: 1.8.0. Provides a modern Python interface for Japanese morphological analysis (Juman++), dependency/case structure analysis (KNP), and anaphora resolution (KWJA). Follows semantic versioning with frequent patch releases.
pip install rhoknpVerified import paths — ran on the pinned version, not inferred.
Basic morphological analysis with Juman++.
Use 'from rhoknp import Jumanpp' instead of 'from rhoknp.juman.jumanpp import Jumanpp'.
Replace jumanpp.analyze_sentence(text) with jumanpp.analyze(text).
Install the required binaries separately (e.g., via apt, Homebrew, or source).
Change import to 'from rhoknp import Jumanpp'.
Install Juman++ (e.g., 'apt install jumanpp' on Ubuntu or download from https://github.com/ku-nlp/jumanpp).