Skip to main content

suzume

PyPI npm License Docs

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

Apache License 2.0

Metadata

Release files for suzume 0.9.11

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distributions (wheels)

Table of built distributions (wheels) for suzume 0.9.11
File Interpreter ABI Platform
suzume-0.9.11-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl Python 3 none Linux glibc 2.17+ x86-64 Details
suzume-0.9.11-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.11-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl

Download URL suzume-0.9.11-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Size 952.3 kB
Tags Linux glibc 2.17+ x86-64 Python 3
SHA-256 checksum
How to use checksums
12b7e0b88ba0a1dfb6d8f69de172d1dd57b5aec3e0492d4b7387208ed7c0323c
BLAKE2b-256 checksum
How to use checksums
1f1483f2af715c2a9dbd3808a37fa4386a578e5ceb0a9d5d7d1ac94a96901a2d
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 Sep 6, 2026.

Transparency log

Release files / suzume-0.9.11-py3-none-macosx_11_0_arm64.whl

Download URL suzume-0.9.11-py3-none-macosx_11_0_arm64.whl
Size 626.1 kB
Tags Python 3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
af7179b458d1fc0f78faabb7b953b21c1d6c77a5d8ee876978fde2bb12be1de2
BLAKE2b-256 checksum
How to use checksums
f090713d0da70a72c84e205329df7c6206746780ff315aaaa122c6ebb0cbc4c0
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 Sep 6, 2026.

Transparency log

Security for suzume 0.9.11

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.

Select from 2 files

Attestation for suzume-0.9.11-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 Sep 6, 2026.

Transparency log

A 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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page