mentheosis / anki-scanner-chinese-redux

adding text scanning features for chinese redux in anki
GNU General Public License v3.0
5 stars 5 forks source link

Japanese support? #9

Open ghost opened 4 years ago

ghost commented 4 years ago

Is it possible to implement japanese support in this addon? My main focus is vocabulary, not phrases. So basically it should be pretty straightforward, right?

mentheosis commented 4 years ago

It's possible. One of the main challenges with Chinese is determine where the word boundaries are since there are no spaces in the text. If Japanese also has this challenge then you will first need a library which can analyze and classify japanese text into words (the chinese library can maybe do that if you give it a japanese dictionary, not sure). Then you'd also need a good free japanese dictionary, and optionally an api source for generating sound files or any other additional content desired.

Once you have these components it wouldn't be too hard to add a Japanese module and still utilize the card generation and ui part of this program