apertium / apertium/apertium-dixtools

"enhance": don't rewrite .dix?

Open
#3 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
1
Forks
2
PR merge metrics
No merged PRs in 30d

Description

I tried [enhance](http://wiki.apertium.org/wiki/Dixtools:_Enhance), which seems handy, but it completely rewrites the .dix file, which leads to unnecessarily large diffs. It also strips the `c` attribute.

It'd be nice if enhance could either

1. just output the new additions to the output file, or
2. only add the new words to the .dix file with no other changes (e.g. at the end of the section or after the words they're based on)

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating the enhance entry point and how it reads and writes .dix files. Investigate whether it can emit only additions or preserve the existing file while adding new words, including the c attribute. Done means one of those requested behaviors is implemented without unrelated rewrites or attribute loss.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
tooling
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.