soimort / python-romkan

:sa: A Romaji/Kana conversion library for Python
http://www.soimort.org/python-romkan/
Other
112 stars 47 forks source link

fails on double 'n' #12

Open garfieldnate opened 4 years ago

garfieldnate commented 4 years ago

In both traditional and modified Hepburn romanization, "annai" should be rendered as あんない, but romkan renders it as あんあい.

import romkan
romkan.to_hiragana("annai")
'あんあい'