Skip to main content

PyCantonese: Cantonese Linguistics and NLP in Python

PyPI version Supported Python versions Build Code Health

Documentation

http://pycantonese.org

Download and install

PyCantonese is available through pip:

$ pip install -U pycantonese

Setting up a Development Environment

The latest code under development is available on Github at jacksonllee/pycantonese. To obtain this version for experimental features or for development:

$ git clone https://github.com/jacksonllee/pycantonese.git
$ cd pycantonese
$ pip install -r requirements.txt
$ pip install -r dev-requirements.txt
$ python setup.py develop

To run tests:

$ py.test -vv --cov pycantonese pycantonese
$ flake8 pycantonese

Author

Developer: Jackson L. Lee

A talk introducing PyCantonese:

Lee, Jackson L. 2015. PyCantonese: Cantonese linguistic research in the age of big data. Talk at the Childhood Bilingualism Research Centre, Chinese University of Hong Kong. September 15. 2015. Notes+slides

Please also see CONTRIBUTORS.md.

Change Log

Please see CHANGELOG.md.

License

MIT License. Please see LICENSE.txt for details.

The HKCanCor dataset included in PyCantonese is substantially modified from its source in terms of format. The original dataset has a CC BY license. Please see pycantonese/data/hkcancor/readme.md for details.

Metadata

Release files for pycantonese 2.3.0

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

Source distribution (sdist)

Source distribution for pycantonese 2.3.0
File Size Uploaded Provenance Actions
pycantonese-2.3.0.tar.gz 619.4 kB Without provenance Details for pycantonese-2.3.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for pycantonese 2.3.0
File Interpreter ABI Platform Actions
pycantonese-2.3.0-py3-none-any.whl Python 3 none any Details for pycantonese-2.3.0-py3-none-any.whl

Total release size: 1.3 MB

Release files / pycantonese-2.3.0.tar.gz

Download URL pycantonese-2.3.0.tar.gz
Size 619.4 kB
Tags Source
SHA-256 checksum
How to use checksums
b9c67d3ff93d7258f387accea27183496d23ccca7d63f0d46d96f02a0ddba58d
BLAKE2b-256 checksum
How to use checksums
8b86f2afa4fd0892638bdcd0ac0716779d1de4c54c2587e9591411bb9d968f6a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.0.post20200714 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.8.3

Release files / pycantonese-2.3.0-py3-none-any.whl

Download URL pycantonese-2.3.0-py3-none-any.whl
Size 686.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d43e22968f375d4e5d7a558eb803f9455460fa8b8f881d9a582cd79562ff211b
BLAKE2b-256 checksum
How to use checksums
394d410d9f4de163f7cf6e77c49c2cde71eb76e8a31fe5761bc3bab82f982a43
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.0.post20200714 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.8.3

Security for pycantonese 2.3.0

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

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