Skip to main content

liuli is better than jieba.

Project description

liuli

liuli is better than jieba. 流利比结巴好。

使用

  • pip install liuli
>>> import liuli
>>> liuli.lcut('南京市长江大桥')
['南京市', '长江大桥']
>>> liuli.lcut('南京市长江大桥', cut_all=True)
['南京', '南京市', '京市', '市长', '长江', '长江大桥', '大桥']
>>> liuli.lcut_for_search('南京市长江大桥')
['南京', '南京市', '京市', '长江', '长江大桥', '大桥']

性能测试

  • liuli 1x < jieba 1.5x < cyliuli 2x
  • 详见

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

liuli-0.0.1-cp37-cp37m-win_amd64.whl (60.9 kB view hashes)

Uploaded CPython 3.7m Windows x86-64

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page