korean to IPA through python
https://pypi.org/project/ko-pron/
License: MIT
Author: Andriy Koretskyy
Hangul pronunciation and romanisation module.
This is actually rewritten to python Wiktionary lua module ko-pron Current revision: https://en.wiktionary.org/w/index.php?title=Module_talk:ko-pron&oldid=49615051
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
Usage
from ko_pron import romanise print(romanise("์๋ค", "mr"))
Result: itta
๋ ์ง์ ๋ฐ๋ ค๋ค์คฌ๋ ๊ทธ ๊ธฐ์ต๋ค์ด ๋ค ๋๋ฌด ์์คํด (originale)
nส̹ษญ t͡ษibe̞ te̞ษพjส̹da̠d͡สwส̹t̚t͈ส̹n kษฏ kiส̹k̚t͈ษฏษพi ta̠ nส̹mu sสฐo̞d͡สuลษฆe̞ (IPA)
๋ ์ง๋ฒ ๋ฐ๋ ค๋ค์ค๋ค ๊ทธ ๊ธฐ์ต๋จ๋ฆฌ ๋ค ๋๋ฌด ์์คํด (phonetic hangul)
nลl chibe teryลdajwลttลn kลญ kiลktลญri ta nลmu sojunghae (McCune-Reischauer)
Commenti
Posta un commento