PyCantonese: Cantonese Linguistics and NLP in Python
Documentation
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 pycantonese/pycantonese. To obtain this version for experimental features or for development:
$ git clone https://github.com/pycantonese/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
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.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pycantonese-2.2.0.tar.gz | 621.8 kB | Without provenance | Details for pycantonese-2.2.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pycantonese-2.2.0-py3-none-any.whl | Python 3 | none | any | Details for pycantonese-2.2.0-py3-none-any.whl |
Total release size: 1.3 MB
Release files / pycantonese-2.2.0.tar.gz
| Download URL | pycantonese-2.2.0.tar.gz |
|---|---|
| Size | 621.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b9947fcc6bfbb6fc7662f78ac0e4b09ef02d5bb962f7f31b475e7861dc96efdd
|
|
BLAKE2b-256 checksum How to use checksums |
607e6483e26ac0e3bbc1203cc8d0eec7c47f6af987d54fcff65b9cd00279c5a6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / pycantonese-2.2.0-py3-none-any.whl
| Download URL | pycantonese-2.2.0-py3-none-any.whl |
|---|---|
| Size | 685.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
2c18368407f621b49436c36c38a8dfd1cb5412980e2ae373944fe3e706aed93c
|
|
BLAKE2b-256 checksum How to use checksums |
675afe5f00133560aa83731a30813545a486af1bcc5105cb15cba6fa9b09435d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for pycantonese 2.2.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.