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.
_______________________________________________
Aspell-user mailing list
Aspell-user@gnu.org
http://lists.gnu.org/mailman/listinfo/aspell-user