[prev in list] [next in list] [prev in thread] [next in thread] 

List:       aspell-user
Subject:    Re: [Aspell-user] Expanding en_US dictionary
From:       Kevin Atkinson <kevina () gnu ! org>
Date:       2009-02-04 0:07:46
Message-ID: 20090203170411.G53975 () bas ! flux ! utah ! edu
[Download RAW message or body]

On Tue, 3 Feb 2009, Charles Salvia wrote:

> I'm trying to get a complete word list of all US English words along with
> grammatical variants by dumping and expanding the en_US dictionary, like so:
>
> Yet the en_US dictionary doesn't seem to have affix information which is
> found in other dictionaries.  Rather then dumping out possible grammatical
> variations of each word, it simply outputs the word followed by an
> apostrophe.
>
> For example, the output of
>
> aspell -l en dump master | aspell -l en expand
>
> includes the following:
>
> ...
> questionabl
> questionabl
> questionin
> questioningl
> questioning
> questionnair
> questionnaire'
> questionnaire
> causation'
> ...
>
> It looks as though the nouns have some sort of affix information, but I
> can't get them to actually expand. It's easy to get other dictionaries (such
> as Spanish) to expand, but it doesn't seem to work with en_US.

The Aspell dictionary does not have any affix information in it.  Thus, 
the expand step does nothing.  Also, it looks like there is a bug in the 
aspell version you are using as it is chopping off the last letter of 
each word in the dictionary.




[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic