MIT License

项目介绍

jacksonllee/pycantonese 是一个托管在 GitHub 上的开源项目,主要使用 Python 编写,采用 MIT License 许可证,目前获得 422 个 Star、41 次 Fork。

仓库全名
jacksonllee/pycantonese
开源许可证
MIT License
Star 数
422
Fork 数
41
未关闭 Issue
2

README 摘要

PyCantonese: Cantonese Linguistics and NLP in Python ==================================================== .. image:: https://jacksonllee.com/logos/pycantonese-logo.png :width: 250px Full Documentation: https://pycantonese.org :target: https://pypi.org/project/pycantonese/ :alt: PyPI version :target: https://anaconda.org/conda-forge/pycantonese :alt: Conda version .. start-sphinx-website-index-page-part-1 PyCantonese…

完整内容见 GitHub 原始 README 或本页 。

常见问题

pycantonese 用什么语言开发?

主要使用 Python 编写,采用 MIT License 许可证,目前有 422 个 Star。

pycantonese 可以免费商用吗?

仓库采用 MIT License 许可证,可免费使用与修改,商业使用请遵守许可证条款(例如保留版权声明与许可声明)。

如何获取 pycantonese 的源码?

可以直接克隆仓库:git clone https://github.com/jacksonllee/pycantonese.git,默认分支为 main;安装与运行步骤见仓库 README。

pycantonese 最近还在维护吗?

仓库最近一次更新为 5月26日,当前有 2 个未关闭 Issue;Star 数为 422,可作为社区活跃度的参考。

关于

Cantonese Linguistics and NLP

描述取自 GitHub 官方 API,中文内容由 GitRead 中文社区 编辑团队整理。

语言占比

Python
Rust
Shell

Release

README

PyCantonese: Cantonese Linguistics and NLP in Python

… image:: https://jacksonllee.com/logos/pycantonese-logo.png :width: 250px

Full Documentation: https://pycantonese.org

|

… image:: https://img.shields.io/pypi/v/pycantonese.svg :target: https://pypi.org/project/pycantonese/ :alt: PyPI version

… image:: https://img.shields.io/conda/vn/conda-forge/pycantonese.svg :target: https://anaconda.org/conda-forge/pycantonese :alt: Conda version

|

… start-sphinx-website-index-page-part-1

PyCantonese is a Python library for Cantonese linguistics and natural language processing (NLP). Currently implemented features:

  • Accessing and searching corpus data
  • Parsing and conversion tools for Jyutping romanization
  • Parsing Cantonese text
  • Stop words
  • Word segmentation
  • Part-of-speech tagging

The design of PyCantonese prioritizes ease of use and linguistic knowledge. It has been successfully used by both academic and commercial organizations, including major US tech companies.

Since v4.0.0 (March 2026), PyCantonese depends on Rustling <https://rustling.io>_, a library for efficient CHAT data handling, word segmentation, and part-of-speech tagging.

… end-sphinx-website-index-page-part-1

… _download_install:

Download and Install

Using pip::

pip install --upgrade pycantonese

Using conda::

conda install -c conda-forge pycantonese

PyCantonese also works in JavaScript <https://docs.pycantonese.org/stable/quickstart.html#javascript>_.

Ready for more? Check out Quickstart <https://docs.pycantonese.org/stable/quickstart.html>_.

… start-sphinx-website-index-page-part-2

How to Cite

Lee, Jackson L., Litong Chen, Charles Lam, Chaak Ming Lau, and Tsz-Him Tsui. 2022. PyCantonese: Cantonese Linguistics and NLP in Python <https://jacksonllee.com/papers/pycantonese_lrec_2022-05-06.pdf>_. Proceedings of the 13th Language Resources and Evaluation Conference.

… code-block:: latex

  @inproceedings{lee-etal-2022-pycantonese,
     title = "PyCantonese: Cantonese Linguistics and NLP in Python",
     author = "Lee, Jackson L.  and
        Chen, Litong  and
        Lam, Charles  and
        Lau, Chaak Ming  and
        Tsui, Tsz-Him",
     booktitle = "Proceedings of The 13th Language Resources and Evaluation Conference",
     month = jun,
     year = "2022",
     publisher = "European Language Resources Association",
  }

License

MIT License.

Please note that PyCantonese includes data from the following sources, all of which are permissively licensed:

  • Hong Kong Cantonese Corpus (CC BY)
  • CantoMap (GPL-3.0)
  • rime-cantonese (CC BY 4.0)
  • Common Voice Cantonese (Mozilla Public License 2.0)
  • Cantonese-Traditional Chinese Parallel Corpus (CC0 1.0 Universal)

For details about these datasets, please see their documentation <https://github.com/jacksonllee/pycantonese/tree/main/src/pycantonese/data>_.

The PyCantonese logo is the Chinese character 粵 meaning Cantonese, with artistic design by albino.snowman (Instagram handle).

… end-sphinx-website-index-page-part-2

评论

暂无评论