Skip to main content

Korean pronunciation and romanisation based on Wiktionary ko-pron lua module

Project description


Hangul pronunciation and romanisation module.

This is actally rewritten to python Wiktionary lua module ko-pron Current revision:

Supported transformations:

  • Revised Romanisation (rr)
  • phonetic hangul (ph)
  • Yale romanisation (yr)
  • McCune-Reischauer (mr)
  • WT-revised Revised Romanisation (rrr)
  • IPA (ipa)

McCune-Reischauer, IPA, Revised Romanisation, phonetic hangul take into aacount changes in pronunciation like: "있다" is pronounced as "itta" etc.

Method "romanise" also accepts optional parameters. They are described in documentation of original lua module


from ko_pron import romanise

print(romanise("있다", "mr"))

Result: itta

Install locally

pip install -e .

Test coverage

Run tests with coverage

cd test

Run html tests after running tests

coverage html


Name Stmts Miss Cover
/Users/andrey/Projects/ko_pron/ko_pron/ 2 0 100%
/Users/andrey/Projects/ko_pron/ko_pron/ 2 0 100%
/Users/andrey/Projects/ko_pron/ko_pron/ 186 23 88% 77 0 100% 11 0 100%
----------------------------------------------------- ----- ----- -----
TOTAL 278 23 92%



Original lua module

Optional parameters

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for ko-pron, version 1.3
Filename, size File type Python version Upload date Hashes
Filename, size ko_pron-1.3-py3-none-any.whl (12.5 kB) File type Wheel Python version py3 Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page