Re: Using aspell programmatically

Kevin Atkinson <[email protected]> Wed, 5 May 2010 16:26:51 -0600 (MDT)
Newsgroups gmane.comp.gnu.aspell.user
Message-ID <[email protected]>
On Wed, 5 May 2010, John P. Hartmann wrote:

> j /home/john/aspell: aspell --lang en create master ./private < wordlist
> Warning: The word "people-power" is invalid. The character '-' (U+2D)
> may not appear in the middle of a word. Skipping word.
>
> So how do I enter double-barrel words into a dictionary?  I guess the
> answer is, one doesn't.

Basically, if you really want it in there, there are ways to get around 
this.

> j /home/john/aspell: echo CCW|aspell list
> Error: The file "/home/john/aspell/private" is not in the proper format.

I fail to see where Aspell is getting /home/john/aspell/private.  If it is 
a config variable remove it for now and use
   aspell list -d ./private
If that doesn't work you might need to rename the dict. to private.rws