Skip to main content

Cantonese segmentation tool 粵語分詞工具

Project description

cantoseg

Cantonese segmentation tool 粵語分詞工具

Install

$ pip install cantoseg

Usage

>>> import cantoseg
>>> cantoseg.cut('香港喺舊石器時代就有人住')
['香港', '喺', '舊石器時代', '就', '有人', '住']

A generator version is also available: cantoseg.lcut.

Design

See article Cantonese Segmentation and Part-Of-Speech Tagging (in Chinese).

Project details


Download files

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

Source Distribution

cantoseg-0.0.1.tar.gz (3.3 kB view hashes)

Uploaded Source

Built Distribution

cantoseg-0.0.1-py3-none-any.whl (3.1 MB view hashes)

Uploaded Python 3

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