I thought you might be interested: I asked Kevin Atkinson about per-document
dictionaries, and he replied:

> Aspell doesn't have a per document dictionary mainly because there is no
> real good way to store them and also because it will add more complexity
> to the user interface.  However, if you wish you can have a per-document
> personal dictionary and also use your normal personal dictionary by doing
> the following:
>
> aspell --add-extra-dicts=~/.aspell.english.pws --personal=./<per-doc-dict> ...
> to forse <per-doc-dict> to be in the current working directory.  With out
> the ./ it Aspell will look for it in the home directory.

Hence it's quite easy to do. The problem would be the user interface: merely
having yet another button "add to per-document dictionary" is unattractive.
Perhaps you could configure which buttons are available, or choose between
"add to per-document dictionary" and "accept for this session" or something.
Or even have a single button/menu to do ignore/accept for this session/add
to per-document dictionary/add to personal dictionary (because these are
essentially points on a scale).

Reply via email to