eagleflo / jisho

Jisho is a CLI tool & Rust library that provides a Japanese-English dictionary.
GNU General Public License v3.0
13 stars 1 forks source link

Keep JMdict up to date #35

Open eagleflo opened 1 month ago

eagleflo commented 1 month ago

Currently the JMdict XML file is checked into the repository. This is less than ideal, as JMdict is under constant revision. By downloading the latest file at build time you could always "refresh" your copy of jisho just by rebuilding it.

eagleflo commented 1 month ago

Right now the build script checks whether the dictionary file has changed and skips the expensive processing if it hasn't changed. This approach would not work with that.

Perhaps some subcommands should be created to fetch or update the dictionary files without needing to reinstall the app?