Oh, about how JPBD works, I would like to add: it keeps track of your known vocabulary and tells you what % of any given media you would like to read you’re already familiar with. It ranks a wide range of media by multiple measures of difficulty. It has decks already made with the vocabulary from many books, movies, etc. You can pick any book and generate a new deck for it, and it will make the deck instantly while skipping particles, loan words, and anything you've ever previously marked as known or begun learning. It’s truly more advanced than any similar tool for any other language.
I second this motion. There is excellent Pleco for Chinese, but as far as I know for Japanese and Korean there is no similar app. One of main points in CJK is finding word boundaries and finding proper nouns, both these tasks are super-hard for learners. Consider "peterasesport" - Peter as eSport? Pet erases port? Pete rases port?? We can use mecab (AFAIK it works for Japanese, Chinese and maybe Korean - but there are forks) if the license is Ok. And/or even https://hanlp.hankcs.com/
@David send here link to JPBD, please
From what I can do is try to fix the splitting of words so that they are pressed correctly and add a translation service that has an API or that can be used simply by URL I can't split into words using an online service. I need some offline solution. I found these: https://github.com/atilika/kuromoji - Couldn't get it to work https://github.com/WorksApplications/Sudachi - Requires at least Android O https://hanlp.hankcs.com/ - looks very difficult jpdb.io - I can try adding this service as a translator. I will be able to display the same text on the translation panel after clicking on a word or paragraph translation as on the site
I can keep looking and ask around for the best solution here, if you’d like me to. A lot of these tools are very good, but as far as I know all still have a few weaknesses. They're also being improved pretty rapidly, so there may be perfect answer some months from now. jpdb's parser is better than average, but the reason I use it so much now isn't because the parser itself is so much better. It's because the way jpbd integrates a dictionary directly into a flashcard system is so much more convenient that I would still be using it even if it had a noticeably worse parser! When I mentioned integrating with jpbd, I was thinking of making it possible to tie the accounts together so that known or learned words marked in jpdb are highlighted when reading in Smart Book, or clicking words in Smart Book can add them directly to a jpdb deck. If you were able to get jpdb's owner to work with you on this, you'd easily have all jpdb users committed to Smart Book for reading! The way the flash card process is integrated imto such an excellent dictionary is already incredible, I don't think there's anything like it. If it was also integrated into a reader, I think that would generate a LOT of hype among Japanese learners and anyone who wasn't in it already would definitely be thinking about joining the jpdb/smart book ecosystem.
Could you look at https://github.com/rakuten-nlp/rakutenma and https://github.com/taku910/mecab/tree/master Mecab is a standalone c++ and some java/perl/python etc binding to the native library. And Rakuten should be pure JS. Both are "Japanese" parsers, but they do support Chinese. Mecab is widely used with python bindings in Anki plugins like "anki-morphs" etc. P.S. Here is its usage and possibly dictionaries (if they are not in the main repository). https://github.com/mortii/anki-morphs/tree/main/ankimorphs/deps/mecab
I can't run JS on Android. It would be awesome to find smth on Java
https://github.com/lrorpilla/jidoujisho