bakalover / hikari-bot

Shiritori telegram bot
0 stars 1 forks source link

Add Russian support #8

Open ssslakter opened 1 month ago

ssslakter commented 1 month ago

Possible solution is to use json files that used by yomitan dictionaries

bakalover commented 1 month ago

Looks cool. Considering JMDict

ssslakter commented 1 month ago

I found a library that can parse JMdict. So we can use it https://github.com/themoeway/jmdict-go Also I was thinking whether we should keep the dictionary in memory or load it into the database. I'm not sure how currently the words from jisho are implemented