Skip to content
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

Add a script to build DSL dictionaries #44

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

oxij
Copy link

@oxij oxij commented Oct 2, 2023

The dictionaries in https://github.com/open-dsl-dict/ipa-dict-dsl are 7 years old.

This adds build.py script that generates DSL files for all the data available files in the repository (in two encodings, because some software wants them in UTF16).
It could be easily modified to build other release stuff (like JSONs) too, but I don't need other stuff, so.

With this applied, I would suggest either regenerating the data in https://github.com/open-dsl-dict/ipa-dict-dsl or just archiving that repository and distributing DSL files via Releases here.

At the moment, it generates DSL dictionaries in UTF8 and UTF16 for all data files.
It could be made generate other release outputs too, but I don't need the other
stuff, so it does not.

Meanwhile, the data in `ipa-dict-dsl` repository is 7 years old and it
has a small subset of the dictionaries, so I had to make this.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant