vale-at-red-hat icon indicating copy to clipboard operation
vale-at-red-hat copied to clipboard

Consider using Hunspell-compatible dictionaries for the Spelling rule

Open themr0c opened this issue 2 years ago • 2 comments

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

themr0c avatar Sep 13 '22 09:09 themr0c

Stumbled across https://dzone.com/articles/vale-for-spelling-grammar-style-and-readability-li

kquinn1204 avatar Nov 04 '22 13:11 kquinn1204

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.

aireilly avatar Aug 01 '23 14:08 aireilly