Creates the dictionary for the Sagase Japanese-English dictionary app.
Download/install sqlite on your system and add it to your path.
Prepare source files to be placed in example/input_files/
- JMdict_e_examp
- Version used: English only with examples sentences
- kanjidic2.xml
- Version used: kanjidic2 containing all 13,108 kanji
- accents.txt
- Pitch accent information
- frequency_list.txt
- Frequency list file in the format frequency score (higher is more frequent), tab, and then the lemma (e.g., "22100273 月")
- enamdict_utf-8
- Proper nouns
- radicals.json
- kanji_components.json
- kanji_strokes.json
- vocab_lists.json
- kanji_lists.json
dart run example/sagase_dictionary_example.dart
Thanks to Electronic Dictionary Research and Development Group for managing the source vocab and kanji dictionary files.
Thanks to the KanjiVG project for the kanji stroke order and kanji component data.
Thanks to mifunetoshiro on Github for providing the pitch accent data.
Thank to Wiktionary and Wikipedia for the frequency data.