suzume
Japanese tokenization for Python applications. Suzume is not a full morphological analyzer like MeCab: it prioritizes useful search units while still providing part-of-speech tags, lemmas, and keyword extraction. The wheel requires no extra dictionary installation.
📖 Full API reference and guides
See the MeCab comparison for concrete examples of token boundaries, lemmatization, and trade-offs.
Installation
pip install suzume
PyPI publishes binary wheels for Linux x86_64
(manylinux2014/manylinux_2_17) and macOS arm64 (macOS 11 or newer).
Windows, macOS x86_64, Linux arm64, and other platforms or architectures are
not supported. Suzume does not publish or support a source distribution; an
installation succeeds only when a compatible wheel is available.
Quick Start
from suzume import Suzume
with Suzume() as sz:
tokens = sz.analyze("すもももももももものうち")
tags = sz.generate_tags("東京の公園に行きました")
Threads
Calls on one Suzume instance are serialized, so it can safely be shared
between Python threads. Create one instance per worker when native analysis
should run in parallel.
Installing the wheel also provides the suzume command:
suzume "東京へ行く"
suzume analyze --mode search --format json "東京の公園"
printf 'りんごを食べる\n' | suzume --format tags
Run suzume --help for analysis modes, normalization controls, output formats,
tag filters, and repeatable --dict options. Dictionary compilation,
validation, and test commands remain part of the separate native developer
tool, suzume-cli.
See the Python API for the complete interface, including user dictionaries and tag-generation options.
Also available
npm install @libraz/suzume # JavaScript / TypeScript WebAssembly package
The native C and C++ library is documented at suzume.libraz.net/docs/cpp.
License
Metadata
Release files for suzume 0.9.12
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distributions (wheels)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| suzume-0.9.12-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl | Python 3 | none | Linux glibc 2.17+ x86-64 | Details |
| suzume-0.9.12-py3-none-macosx_11_0_arm64.whl | Python 3 | none | macOS 11.0+ ARM64 | Details |
Total release size: 1.6 MB
Release files / suzume-0.9.12-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
| Download URL | suzume-0.9.12-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl |
|---|---|
| Size | 962.0 kB |
| Tags | Linux glibc 2.17+ x86-64 Python 3 |
|
SHA-256 checksum How to use checksums |
70a2320e08191acdce8c27526e25c5797ae149f8c205c02cdda3e4af2dd47842
|
|
BLAKE2b-256 checksum How to use checksums |
af9eec0ef1f17f9ddfadc716fd6cb9deb25840d4ac693482793d2f997e854cd1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 5, 2026.
Transparency logRelease files / suzume-0.9.12-py3-none-macosx_11_0_arm64.whl
| Download URL | suzume-0.9.12-py3-none-macosx_11_0_arm64.whl |
|---|---|
| Size | 631.5 kB |
| Tags | Python 3 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
433691da217c22673ca52e119e7ebe2809137a3e7da1240ee488ea4691876033
|
|
BLAKE2b-256 checksum How to use checksums |
c09a20cb05772b5125ca0407eddac714346ea21d46ed3bf22d8c096f0c502eaa
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 5, 2026.
Transparency logSecurity for suzume 0.9.12
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
All 2 files in this release have been uploaded with provenance metadata.
Attestation for suzume-0.9.12-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 5, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.