-
Notifications
You must be signed in to change notification settings - Fork 80
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Create modern, flexible system for handling arbitrary dictionaries #185
Comments
Various leads: chrome download API for serializing dictionaries. (Might not be useful to serialize outside of extension) Utility for import-export of indexeddb in case we need to prepare it inadvance. Dexie for making it easier to work with indexeddb indexeddb docs 3rd party JS database which hasn't been developed in years but might be better than indexeddb Dictionary informationhttp://nihongo.monash.edu/wwwjdicinf.html#dicfil_tag |
Epwing format specifically is filed at #146 |
Dixie specific import/export: https://www.npmjs.com/package/dexie-export-import |
Yomichan format is in indexedDB so supporting that format directly might be the way to go. |
Yomichan format is published as json schemas: https://github.com/FooSoft/yomichan/tree/master/ext/data/schemas Though perhaps the schemas can also be used to generate types for Dixie type safe Indexeddb access. To generate dictionaries I can use https://github.com/actions/setup-go to build latest yomichan and then do something similar to https://github.com/FooSoft/yomichan-import/blob/master/scripts/build_dicts.sh in order to build dictionaries. json validator: https://ajv.js.org/guide/getting-started.html |
More than just updating the old dat and idx files I think it would be good to have a system with the following properties:
A. Easily supporting non english languages.
B. Supporting niche dictionaries like computer terms or J-J
C. Letting people update even when I was slow.
I wouldn't want the system to require the user to update by themselves though so perhaps I would want an autoupdating feature for common sources.
One thing to think about when defining the goals is what types of looks up we may want.
The text was updated successfully, but these errors were encountered: