You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
% cutlet
ずっーと
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "$HOME/anaconda3/envs/py36_mecab/lib/python3.6/site-packages/cutlet/cutlet.py", line 133, in romaji
roma = self.romaji_word(word)
File "$HOME/anaconda3/envs/py36_mecab/lib/python3.6/site-packages/cutlet/cutlet.py", line 228, in romaji_word
return self.map_kana(kana)
File "$HOME/anaconda3/envs/py36_mecab/lib/python3.6/site-packages/cutlet/cutlet.py", line 238, in map_kana
out += self.get_single_mapping(pk, char, nk)
File "$HOME/anaconda3/envs/py36_mecab/lib/python3.6/site-packages/cutlet/cutlet.py", line 254, in get_single_mapping
if pk: return self.table[pk][-1]
KeyError: 'っ'
The text was updated successfully, but these errors were encountered:
Thanks for the report, that is not a case I had considered. I made an alpha release that should fix it, please give it a try and let me know if it works.
Here is a new KeyError I got:
The text was updated successfully, but these errors were encountered: