$npx skillfedfor your agent

rjieba

jieba-rs Python binding

With conditionsPyPI LinguisticReleased Apr 2026334.7K downloads / moMITPlatform wheel

Decision gist · record as of 2026-08-14

platform wheels — rjieba-0.2.1-cp314-cp314t-macosx_10_12_x86_64.whl · rjieba-0.2.1-cp314-cp314t-macosx_11_0_arm64.whl · rjieba-0.2.1-cp314-cp314t-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
v0.2.1 · released 2026-04-25

Yes, if you need fast Chinese text segmentation. The package is actively maintained, has no known vulnerabilities, carries a permissive MIT license, and offers significant performance gains over pure-Python alternatives. Install friction is moderate but manageable via prebuilt wheels. Verify that your platform and Python version are covered by available wheels before committing.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Medium install friction due to compiled wheels; however, prebuilt binaries are available for common platforms (x86_64, ARM, ppc64le, s390x, i686) and Python versions, making installation straightforward on supported systems.
  • Repository is actively maintained with recent commits.

License · maintenance · safety

MIT (permissive) — MIT license permits commercial and private use with minimal restrictions; you must include a copy of the license in distributions but face no copyleft obligations.

last release 2026-04-25 (111 days) · last repo commit 2026-08-10 · 35 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 334,661 downloads/mo, #7,487 on PyPI

Verify before relying

pip install rjieba

import rjieba

print(rjieba.cut('我们中出了一个叛徒'))
print(rjieba.tag('我们中出了一个叛徒'))
  • Whether Python version support extends beyond what prebuilt wheels cover (requires_python is unspecified)
  • Dictionary customization or user-defined vocabulary support beyond default behavior
  • Memory usage and performance characteristics on large-scale production workloads
Same gist for agents: .md · .json

What it is and what it does

rjieba is a Python wrapper around jieba-rs, a Rust implementation of the jieba Chinese text segmentation algorithm. It provides two main functions: cut() for word tokenization and tag() for part-of-speech tagging of Chinese text. The package trades the pure-Python simplicity of the original jieba library for substantially faster performance by delegating the heavy lifting to compiled Rust code.

The library has no runtime dependencies and installs via precompiled wheels for most common platforms and Python versions. It's designed for developers working with Chinese natural language processing tasks who need reliable tokenization without the performance overhead of pure-Python alternatives.

Use it for

  • Tokenizing Chinese text for search indexing or information retrieval systems
  • Preprocessing Chinese documents before machine learning or NLP model training
  • Extracting part-of-speech tags for Chinese text analysis and linguistic research
  • Building Chinese text processing pipelines where performance is a constraint
  • Integrating Chinese language support into web applications or APIs

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

Yes, if you need fast Chinese text segmentation.

The package is actively maintained, has no known vulnerabilities, carries a permissive MIT license, and offers significant performance gains over pure-Python alternatives. Install friction is moderate but manageable via prebuilt wheels. Verify that your platform and Python version are covered by available wheels before committing.

Install

rjieba on PyPI

Before you install

Medium install friction due to compiled wheels; however, prebuilt binaries are available for common platforms (x86_64, ARM, ppc64le, s390x, i686) and Python versions, making installation straightforward on supported systems. Repository is actively maintained with recent commits.

License in practice

MIT license permits commercial and private use with minimal restrictions; you must include a copy of the license in distributions but face no copyleft obligations.

Quickstart

pip install rjieba

import rjieba

print(rjieba.cut('我们中出了一个叛徒'))
print(rjieba.tag('我们中出了一个叛徒'))

Verify before relying

  • Whether Python version support extends beyond what prebuilt wheels cover (requires_python is unspecified)
  • Dictionary customization or user-defined vocabulary support beyond default behavior
  • Memory usage and performance characteristics on large-scale production workloads

Package facts

LicenseMIT permissive
Python supportNot specified
Install frictionMedium. Platform-specific wheel
Runtime dependenciesNone
MaintenanceActively maintained 111 days since the last release
Last repo commit
First released
Downloads334,661 / month, #7,487 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14

Evidence: rjieba-0.2.1-cp314-cp314t-macosx_10_12_x86_64.whl; rjieba-0.2.1-cp314-cp314t-macosx_11_0_arm64.whl; rjieba-0.2.1-cp314-cp314t-manylinux_2_17_aarch64.manylinux2014_aarch64.whl; rjieba-0.2.1-cp314-cp314t-manylinux_2_17_armv7l.manylinux2014_armv7l.whl; rjieba-0.2.1-cp314-cp314t-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl; rjieba-0.2.1-cp314-cp314t-manylinux_2_17_s390x.manylinux2014_s390x.whl; rjieba-0.2.1-cp314-cp314t-manylinux_2_17_x86_64.manylinux2014_x86_64.whl; rjieba-0.2.1-cp314-cp314t-manylinux_2_5_i686.manylinux1_i686.whl; rjieba-0.2.1-cp314-cp314t-musllinux_1_2_aarch64.whl; rjieba-0.2.1-cp314-cp314t-musllinux_1_2_armv7l.whl; rjieba-0.2.1-cp314-cp314t-musllinux_1_2_i686.whl; rjieba-0.2.1-cp314-cp314t-musllinux_1_2_x86_64.whl; rjieba-0.2.1-cp314-cp314t-win32.whl; rjieba-0.2.1-cp314-cp314t-win_amd64.whl; rjieba-0.2.1-cp38-abi3-macosx_10_12_x86_64.whl; rjieba-0.2.1-cp38-abi3-macosx_11_0_arm64.whl; rjieba-0.2.1-cp38-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl; rjieba-0.2.1-cp38-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl; rjieba-0.2.1-cp38-abi3-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl; rjieba-0.2.1-cp38-abi3-manylinux_2_17_s390x.manylinux2014_s390x.whl

Tags

Capabilities
chinese text segmentationjieba tokenization pythonchinese word tokenizerchinese nlp tokenizationfast chinese text splittingjieba-rs python bindingchinese pos tagging
Topics
chinese-nlptokenizationrust-binding

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 › “jieba tokenization python”

  • rjiebaA Python binding to the Rust-based jieba-rs Chinese text segmentation…
  • jiebaJieba segments Chinese text into words using multiple algorithms…
  • jieba3kPerforms Chinese word segmentation, breaking Chinese text into…

Give your agent the search over MCP, or paste the wish link into any chat.

More Linguistic packages

charset-normalizer Worth it
PyPI · Utilities · released Aug 2026

Detects and normalizes text encoding from unknown or ambiguous sources, supporting all IANA character sets that Python's core library provides codecs for, with the ability to register custom codecs.

permissive licensepure Python · 3.7+
1.7Bdownloads / mo
tiktoken Worth it
PyPI · Linguistic · released May 2026

tiktoken is a fast BPE tokenizer that converts text into token sequences compatible with OpenAI models, supporting multiple encoding schemes including o200k_base and model-specific encodings.

Install it if you work with OpenAI APIs or need to understand token boundaries in GPT-family models.

permissive licensecompiled wheel · 3.9+
233.0Mdownloads / mo
chardet Worth it
PyPI · Python Modules · released Aug 2026

Detects character encoding and language in byte sequences with high accuracy, supporting 99 encodings and returning confidence scores, language tags, and MIME types.

Install it if you need to detect character encoding or language in byte data; the rewrite makes it substantially faster and more accurate than its predecessors.

0BSDpure Python · 3.10+
199.0Mdownloads / mo
text-unidecode With conditions
PyPI · Python Modules · released Aug 2019

Converts Unicode text to ASCII by transliterating non-ASCII characters into their closest ASCII equivalents, with no runtime dependencies.

However, if transliteration quality or ongoing maintenance matters, consider unidecode instead despite its GPL-only license.

GPL-2.0-or-laterpure Pythonabandoned
89.0Mdownloads / mo
lark Worth it
PyPI · Python Modules · released Oct 2025

Lark is a parsing library that builds abstract syntax trees from context-free grammars, supporting multiple parsing algorithms (Earley, LALR(1), CYK) with automatic line and column tracking.

MITpure Python · 3.8+
79.7Mdownloads / mo
tree-sitter Worth it
PyPI · Linguistic · released Jun 2026

Python bindings to the tree-sitter parsing library, enabling incremental parsing and syntax tree analysis for source code.

MITcompiled wheel · 3.10+
79.0Mdownloads / mo

See also jieba3k · jieba · spacy-pkuseg · rouge-chinese · mecab · curated-tokenizers · segtok · textblob · Janome · pyvi