Skip to main content

jieba-lts (jieba)

Maintained fork of fxsjy/jieba (last release 0.42.1, 2020): small, tested fixes on top of 0.42.1, tested on Python 3.9-3.14. Drop-in: pip install jieba-lts, then import jieba as before. Not the official package; kept by Cyber Pusa (https://cyberpusa.org). All credit goes to Sun Junyi (fxsjy) and the jieba contributors; if the original project returns, this fork hands everything back.

jieba

“结巴”中文分词:做最好的 Python 中文分词组件

“Jieba” (Chinese for “to stutter”) Chinese text segmentation: built to be the best Python Chinese word segmentation module.

完整文档见 README.md

GitHub: https://github.com/fxsjy/jieba

特点

  • 支持三种分词模式:

    • 精确模式,试图将句子最精确地切开,适合文本分析;

    • 全模式,把句子中所有的可以成词的词语都扫描出来, 速度非常快,但是不能解决歧义;

    • 搜索引擎模式,在精确模式的基础上,对长词再次切分,提高召回率,适合用于搜索引擎分词。

  • 支持繁体分词

  • 支持自定义词典

  • MIT 授权协议

在线演示: http://jiebademo.ap01.aws.af.cm/

安装说明

代码对 Python 2/3 均兼容

  • 全自动安装: easy_install jieba 或者 pip install jieba / pip3 install jieba

  • 半自动安装:先下载 https://pypi.python.org/pypi/jieba/ ,解压后运行 python setup.py install

  • 手动安装:将 jieba 目录放置于当前目录或者 site-packages 目录

  • 通过 import jieba 来引用

Metadata

Release files for jieba-lts 0.42.2

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

Source distribution (sdist)

Source distribution for jieba-lts 0.42.2
File Size Uploaded Provenance Actions
jieba_lts-0.42.2.tar.gz 19.2 MB Without provenance Details for jieba_lts-0.42.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for jieba-lts 0.42.2
File Interpreter ABI Platform Actions
jieba_lts-0.42.2-py3-none-any.whl Python 3 none any Details for jieba_lts-0.42.2-py3-none-any.whl

Total release size: 38.6 MB

Release files / jieba_lts-0.42.2.tar.gz

Download URL jieba_lts-0.42.2.tar.gz
Size 19.2 MB
Tags Source
SHA-256 checksum
How to use checksums
a2c3d3c4e9e7933c02e85e0c1eafa0576ae6a22589ef6b7a11d17e8252533d69
BLAKE2b-256 checksum
How to use checksums
c7a880376d7e83a9afb8854cf9958c35f678f9053b882a7493062a675cd9f369
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.16

Release files / jieba_lts-0.42.2-py3-none-any.whl

Download URL jieba_lts-0.42.2-py3-none-any.whl
Size 19.3 MB
Tags Python 3
SHA-256 checksum
How to use checksums
75fdeb7354b4044d9ce1cbb4bc62b23243c6b852843dfdb7ccb6a572f6db6739
BLAKE2b-256 checksum
How to use checksums
01920abaaf3123b24b483b0be95903f8bb368d3f2b015e8501d419373cbfd051
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.16

Security for jieba-lts 0.42.2

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

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.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.42.2 This release

2 release files No provenance

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