Skip to content
This repository has been archived by the owner on May 6, 2021. It is now read-only.

Make derived dictionary generation automatic #106

Open
eddieantonio opened this issue Dec 20, 2018 · 0 comments
Open

Make derived dictionary generation automatic #106

eddieantonio opened this issue Dec 20, 2018 · 0 comments
Labels
enhancement New feature or request

Comments

@eddieantonio
Copy link
Member

eddieantonio commented Dec 20, 2018

There are a few derived dictionaries:

  • crkeng-macrons.xml
  • crkeng-cans.xml

These are derived from crkeng.xml, though honestly, I don't know how to start this process, and I don't even know if this process works still.

Regardless! itwêwina should make an attempt to regenerate the derived dictionaries when starting up (before loading the dictionaries!)

It could delegate to make(1), which will have rules for how to recreate the XMLs... somehow:

all: crkeng.xml crkeng-macrons.xml crkeng-cans.xml

crkeng-macrons.xml: crkeng.xml
    macronify-dictionary -o $@ $<

crkeng-cans.xml: crkeng.xml
   syllabify-dictionary -o $@ $<
@eddieantonio eddieantonio added the enhancement New feature or request label Dec 20, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant