Re: Expanding en_US dictionary

Kevin Atkinson <[email protected]>
Newsgroups gmane.comp.gnu.aspell.user
Message-ID <[email protected]>
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.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.