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 config.json for German extractor #370

Merged
merged 3 commits into from
Oct 20, 2023
Merged

Conversation

empiriker
Copy link
Contributor

Preliminary comment

I found my PRs were still too large recently. Going forward, I will try to keep each one focused on a small scope, even if that means having several open PRs in parallel.

Please let me know if you prefer it differently.

This PR

This PR is mainly to add a config.json and remove the hard-coded list of form-table templates for the German extractor.

See commit messages for the other minor additions.

Question

I wonder if I should also configure the German overrides to be used by default. Without them the whole extractor wouldn't work since the tree structure will be very different. Currently, the --override flag is not clearly enough documented for the user to understand for which editions it's mandatory.

This work is a contribution to the EWOK project, which receives funding from LABEX ASLAN (ANR–10–LABX–0081) at the Université de Lyon, as part of the "Investissements d'Avenir" program initiated and overseen by the Agence Nationale de la Recherche (ANR) in France.
Fix tests tearDown

This work is a contribution to the EWOK project, which receives funding from LABEX ASLAN (ANR–10–LABX–0081) at the Université de Lyon, as part of the "Investissements d'Avenir" program initiated and overseen by the Agence Nationale de la Recherche (ANR) in France.
- Catches and passes inflection-tables in the parse tree
- Catches and passes the "Kategorie" links in the parse tree

This work is a contribution to the EWOK project, which receives funding from LABEX ASLAN (ANR–10–LABX–0081) at the Université de Lyon, as part of the "Investissements d'Avenir" program initiated and overseen by the Agence Nationale de la Recherche (ANR) in France.
@xxyzz xxyzz merged commit 2f5edec into tatuylonen:master Oct 20, 2023
5 checks passed
@xxyzz
Copy link
Collaborator

xxyzz commented Oct 20, 2023

The "override" option was used for fixing broken templates and Lua modules, and for testing templates. The "overrides" folder must be moved inside the "src" folder to be included in the package, and the "wiktwords" command should apply the override JSON file automatically. I'll implement this feature in a pr.

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