Skip to main content

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


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.2.tar.gz (1.3 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

han2kip-0.1.2-py2.py3-none-any.whl (1.3 MB view details)

Uploaded Python 2Python 3

File details

Details for the file han2kip-0.1.2.tar.gz.

File metadata

  • Download URL: han2kip-0.1.2.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

Hashes for han2kip-0.1.2.tar.gz
Algorithm Hash digest
SHA256 f414545277cdcc3dd20feecda0169f631d3efad03e2296118744a54ae96bad52
MD5 a1be03b86a3e0b2b7f089eac4976f293
BLAKE2b-256 86712f71bb30a794a916f5ad966f99eacbcbd0882334a7af7c3126aa67688d0c

See more details on using hashes here.

File details

Details for the file han2kip-0.1.2-py2.py3-none-any.whl.

File metadata

  • Download URL: han2kip-0.1.2-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

Hashes for han2kip-0.1.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 51bda64a8a69db82ba2036aee247891cf06f0bdb6b74acb478444267788f8f10
MD5 49d6414c227ef68cef231e257e881ce9
BLAKE2b-256 314b10711f24e3057f9bea32461ac9c388b5d99ff4dde4a42153afdebea597fe

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page