han2kip is a package for converting Taiwanese Hokkien Hanzi to its phonetic representation.
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
han2kip-0.1.1.tar.gz
(1.3 MB
view details)
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.1.tar.gz.
File metadata
- Download URL: han2kip-0.1.1.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 |
1263e5c8d0453c8e1ab69517984442a1a7e774f1ab9bc2e83fe99075644849e7
|
|
| MD5 |
39e762ed507649359fdf853dabb74210
|
|
| BLAKE2b-256 |
540da708d3da60f17575e32c269cbcdc83aa8f25a534167d99767054f466259b
|
File details
Details for the file han2kip-0.1.1-py2.py3-none-any.whl.
File metadata
- Download URL: han2kip-0.1.1-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 |
a3a85ee617be6ba6e5752498a92b02fbd4b2b961d38a22f45674e5d84eef0843
|
|
| MD5 |
7bb0ca33a15c170d595e3bc35679c1b2
|
|
| BLAKE2b-256 |
36dabc9638649683a3e64ca793fb82393ca47fa5e4a4e5e6e5b54c2b216c7c97
|