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

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.13
File Interpreter ABI Platform
suzume-0.9.13-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl Python 3 none Linux glibc 2.17+ x86-64 Details
suzume-0.9.13-py3-none-macosx_11_0_arm64.whl Python 3 none macOS 11.0+ ARM64 Details

Total release size: 1.7 MB

Release files / suzume-0.9.13-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl

Download URL suzume-0.9.13-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Size 1.0 MB
Tags Linux glibc 2.17+ x86-64 Python 3
SHA-256 checksum
How to use checksums
30a9bef5e38a12dc305456f79ed9e0d46065d93a63a904c821c1602bb179b4ba
BLAKE2b-256 checksum
How to use checksums
21a4db1f4dd891e52b1018f44d4ee4299d715ffab8f1713f88cb90c848151d3b
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 7, 2026.

Transparency log

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

Download URL suzume-0.9.13-py3-none-macosx_11_0_arm64.whl
Size 671.3 kB
Tags Python 3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
5333ef8250332864745e946e21bf5b0c35e557207e0a85258f42a8119c8f5d6d
BLAKE2b-256 checksum
How to use checksums
473dfa296a71e5560df75df46ac981b8991b93af16bd8b33f5012409ec289281
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 7, 2026.

Transparency log

Security for suzume 0.9.13

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.13-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 7, 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