vale-at-red-hat
vale-at-red-hat copied to clipboard
Consider using Hunspell-compatible dictionaries for the Spelling rule
Idea for a more maintainable Spelling rule:
For spelling, Vale supports multiple Hunspell-compatible dictionaries. So, I start with the en_US-large dictionary from SCOWL, and then add a custom dictionary containing industry- and product-specific terminology. Using a Hunspell-compatible dictionary means that your word lists are notably shorter, since you can specify the affixes required without introducing multiple entries for plurals, possessives, and other variants. It does take effort to maintain our custom dictionary, but we maybe have 2 updates per month.
Source: https://antora.zulipchat.com/#narrow/stream/282401-dev-.F0.9F.9B.A0.EF.B8.8F/topic/Antora.20proofread.20extension/near/298065443
Stumbled across https://dzone.com/articles/vale-for-spelling-grammar-style-and-readability-li
Playing with this here: https://github.com/redhat-documentation/vale-at-red-hat/pull/601
Need to investigate how to distribute this if we added the dictionary. Need to review errors on production docs, etc.