nicolas-raoul / jakaroma

Java library and command-line tool to transliterate Japanese kanji to romaji (Latin alphabet)
Apache License 2.0
62 stars 8 forks source link

Bugs small tsu #10

Closed malkazoid closed 4 years ago

malkazoid commented 4 years ago

Hello @nicolas-raoul - I think I've correctly pushed the new commit to github. I deleted the previous pull request and the small tsu branch because I was getting 'no fast-forward' rejections trying to push to github. I'm sure that was using a bazooka to kill a fly - but I didn't know how else to fix it.

All small tsu substitution should be working now, although I'm sure there some unforeseen cases out there that we'll eventually run into... The ピッザ problem was a blatant and strange refusal by kuromoji to process that token - so it just passed on the kana without conversion. I've implemented a manual conversion character by character for those cases.