Open ewa opened 1 year ago
See also issue #440.
Hi, sorry for the delay.
Excluding words will introduce a lot of special cases I would rather avoid (expecially in the suggestion code). It is actually pretty easy to create a custom dictionary. Assuming you are using American English all you need to do is:
$ aspell dump master -d en_US > en_US.wl
# edit en_US to remove any problematic words
$ aspell create master -l en ~/.aspell.en-custom.rws < en_US.wl
Then to use it:
$ aspell -d ~/.aspell.en-custom.rws ...
You can name the file anything you want.
Motivation
-- from Bartholomaeus's "De Proprietatibus Rerum", AD 1398.
I have a document in which I've typed "withing." Apparently, this is technically a word. It is the present participle of "to withe". If you are binding or beating someone with slender shoots and twigs of plants ("withes") then you are withing. I'm not sure it's really be used since the middle English period, but it's a word.
Aspell likes the word just fine:
It's in the
en-common
dictionary:And that's all fine. It is a word.
But it's also clearly not the word I meant. I mis-typed "within."
Feature Request
Can we have a mechanism for excluding words, on a configurable, per-user, basis? We already have a "custom whitelist," that is, a "match this even if the dictionary says no" list. Can we have the opposite, a "blacklist" or "don't match this, even if the dictionary says yes" list?
Many thanks!