I want to get list of all words from aspell dictionary. I downloaded aspell and aspell polish dictionary, then unziped it using:

preunzip pl.cwl

I got pl.wl:


but they appear with sufix like /bXxYc or /MNn. These suffixes are defined in pl_affix.dat, which looks like

SFX n Y 5
SFX n   a         0         [^ij]a
SFX n   ja        yj        [^aeijoóuy]ja
SFX n   a         0         [aeijoóuy]ja
SFX n   ia        ij        [^drt]ia
SFX n   ia        yj        [drt]ia

It is connected to the declination and conjugation. How can I add to the first list all forms (with all corresponding suffixes as defined in .dat file ) ?

BTW: I need this list to spell-checker jazzy.


Give this a try:

aspell -d pl dump master | aspell -l pl expand > my.dict

Edited to match corrections in comment.

  • Nearly, I got what I wanted, but with english suffixes... Example: "hippiesowski hippiesowskiens hippiesowskily" – rafalmag May 5 '10 at 20:53
  • 1
    Correct command is : aspell -d pl dump master | aspell -l pl expand > my.dict Now I got: "hippiesowski niehippiesowski hippiesowskimi ..." – rafalmag May 5 '10 at 21:02
  • How do I extract all the properties of these words aswell? – Nordlöw Sep 21 '14 at 21:30
  • How to convert a specific/single .rws file to text file? – Nadav B Feb 28 '18 at 12:46

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.