Skip to content

Add a script to build DSL dictionaries#44

Open
oxij wants to merge 2 commits into
open-dict-data:masterfrom
oxij:master
Open

Add a script to build DSL dictionaries#44
oxij wants to merge 2 commits into
open-dict-data:masterfrom
oxij:master

Conversation

@oxij
Copy link
Copy Markdown

@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.

oxij added 2 commits October 2, 2023 23:05
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.
@robertvandeneynde
Copy link
Copy Markdown

robertvandeneynde commented Dec 29, 2024

Looks like this solves my issue #55 :D

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.

2 participants