hexenq / kuroshiro

Japanese language library for converting Japanese sentence to Hiragana, Katakana or Romaji with furigana and okurigana modes supported.
https://kuroshiro.org
MIT License
781 stars 88 forks source link

Detect English words #112

Open eadmaster opened 8 months ago

eadmaster commented 8 months ago

Is it possible to detect English words a in katakana and convert them correctly, like cutlet does?

e.g.

$ echo 'どんな毎日もスタートを切ったなら' | cutlet 
Donna mainichi mo start wo kittanara

with kuroshiro, i get this output "donna mainichi mo sutato o kitta nara"