Affixes leftover from expanded wordlist dumps

Isaac Colley <[email protected]>
Newsgroups gmane.comp.gnu.aspell.user
Message-ID <[email protected]>
Hello,

I am building a dictionary based language detection program using the
dumps of aspell dictionaries.

I need to expand wordlists completely, however some languages, such as
Russian, after expansion will leave behind affixes (I think) after a
'?'.  For example:

aspell dump master ru | aspell -l ru expand

will produce lines like:
умаслит? умаслит?ла умаслит?ли умаслит?ло

'умаслит' appears to be the stem, but what about the characters after
the '?'.  Are they affixes?  If so, how do I fully expand them.  Any
insight on how to correctly expand wordlists for every language would be
greatly appreciated. 

Thanks,
Isaac Colley
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.