Open
Description
We have two algorithms at play in divvunspell that don't exist in hfst-ospell:
- Case handling
- Penalty weighting for first letter different, last letter difference and Damerau–Levenshtein distance for middle letters
Things to do to make this good:
- Document somewhere sane how the algorithms behave
- Add some information to
--help
either with a link or with the information itself - In the suggestion output for
divvunspell
, show the penalties, and the unmodified weights, as well as the modified weights - Document how to add the weight information to BHFST files so it can be controlled by the linguist
- If possible, add a flag for disabling the penalty weighting algorithm (like
--no-case-handling
already does somewhat, but separate the two into different flags)