polm / cutlet

Japanese to romaji converter in Python
https://polm.github.io/cutlet/
MIT License
309 stars 21 forks source link

ムッォヴァ #29

Closed mosafuku closed 3 years ago

mosafuku commented 3 years ago
katsu.romaji("ムッォヴァ")

File "/usr/local/lib/python3.6/site-packages/cutlet/cutlet.py", line 145, in romaji roma = self.romaji_word(word) File "/usr/local/lib/python3.6/site-packages/cutlet/cutlet.py", line 214, in romaji_word return self.map_kana(kana) File "/usr/local/lib/python3.6/site-packages/cutlet/cutlet.py", line 254, in map_kana out += self.get_single_mapping(pk, char, nk) File "/usr/local/lib/python3.6/site-packages/cutlet/cutlet.py", line 265, in get_single_mapping return self.table[kk][:-1] + self.table[nk] KeyError: 'っ'

polm commented 3 years ago

I think this is the same as #26 and fixed in the latest commit.

If you find multiple problems, you can post them all in one issue rather than opening multiple issues quickly...