han2kip is a package for converting Taiwanese Hokkien Hanzi to its phonetic representation.
Reason this release was yanked:
Jieba used to log some messages, and the newer version has removed them.
Project description
han2kip
han2kip is a package for converting Taiwanese Hokkien Hanzi (HAN) to its phonetic representation, Kàu-io̍k-pōo Tâi-lô (KIP).
Installing
$ pip install han2kip
Usage
from han2kip import kip_converter
# HAN sentence
sentence = '今仔日天氣真好'
print(kip_converter.translate(sentence))
"kin-á-ji̍t thinn-khì tsin-hó"
sentence = ['今仔日天氣真好,小明!', '風真透~', '愛你一世人']
print(kip_converter.translate(sentence))
"['kin-á-ji̍t thinn-khì tsin-hó,sió-bîng!', 'hong tsin-thàu~', 'ài lí tsi̍t-sì-lâng']"
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file han2kip-0.1.0.tar.gz.
File metadata
- Download URL: han2kip-0.1.0.tar.gz
- Upload date:
- Size: 1.3 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.8.6rc1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9363d35d44ec9b518f8c6d6339fe58363a43428551cf47f0b36b87772aac28d6
|
|
| MD5 |
91d33b29cf48573ba701f754653075f3
|
|
| BLAKE2b-256 |
7c379e9674cd4625c579c570557501070251fa7107e9b6fffb81f4c28d0b532e
|
File details
Details for the file han2kip-0.1.0-py2.py3-none-any.whl.
File metadata
- Download URL: han2kip-0.1.0-py2.py3-none-any.whl
- Upload date:
- Size: 1.3 MB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.8.6rc1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2f5f7a519adb43b75ba181efb5bf1abac356b1cba25c622c40f189046db15f51
|
|
| MD5 |
edec93b4dbe351f55740f3c0ae85d7da
|
|
| BLAKE2b-256 |
5cc7460940e6fbe04913a5e0f42ea20d4ae5f3476351d006bdc3c309e8fb3c13
|