python-romkan
python-romkan copied to clipboard
:sa: A Romaji/Kana conversion library for Python
Neither of the current romanization methods are fully reversible. Effort seems to have been put towards making to_kunrei reversible, even though this forces it to not strictly follow the Kunrei...
Test cases for the following functions currently check the output of "**kannji**" and "**kannzi**": ``` to_katakana(...) - Convert a Romaji (ローマ字) to a Katakana (片仮名). to_kana(...) - Convert a Romaji...
The Hepburn romaniser seems to follow the Modified Hepburn version. http://en.wikipedia.org/wiki/Hepburn_romanization e.g. It produces 'shinpai' instead of 'shimpai'. Modified Hepburn has complex rules for placing macrons to indicate that some...
 the `imp` module has been replaced with ` importlib` in Python 3.12.