PyCantonese
Project description
Documentation
Download and install
PyCantonese is available through pip:
$ pip install --upgrade 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
$ python setup.py develop
To run tests and styling checks:
$ py.test -vv --cov pycantonese pycantonese
$ flake8 pycantonese
$ black --check --line-length=79 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.
The rime-cantonese data (release 2020.09.09) is incorporated into PyCantonese for word segmentation and characters-to-Jyutping conversion. This data has a CC BY 4.0 license. Please see pycantonese/data/rime_cantonese/README.md for details.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file pycantonese-3.0.0.tar.gz
.
File metadata
- Download URL: pycantonese-3.0.0.tar.gz
- Upload date:
- Size: 2.7 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.8.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d9abd5f9a61fa5c463a178a2a29a0c0c2f1d2f68fe39bf749774e88831edc100 |
|
MD5 | d847a0f42d5e67614d894f7a233a14da |
|
BLAKE2b-256 | d1e5261800a088fb70bdeab7217be67d7166a2d0b0a2fcf4e0d6fb56abb6e7b4 |
File details
Details for the file pycantonese-3.0.0-py3-none-any.whl
.
File metadata
- Download URL: pycantonese-3.0.0-py3-none-any.whl
- Upload date:
- Size: 2.8 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.8.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | bb184a2522b9ee6b62d3090b3c89e18a677a4446c23815c26d403e2acd198084 |
|
MD5 | f52e3d75992405fb680573643962c52f |
|
BLAKE2b-256 | aa5193bb68e73daa331fdc2347e662d4074be813f565f424e1e9a1c599448c01 |