#55 script to get a full wordlist

open
nobody
None
5
2012-05-24
2012-05-24
No

Laci, please find my script (based on wordforms) that outputs the whole dictionary to a file. Many people were asking for this, and if they don't mind the speed, here it is.

Discussion

  • Wordlist shell script

     
    Attachments
  • Hi,
    I encounter a problem with this script. When run it (something like "sh ./hunspell2wordlist.sh /usr/share/hunspell/en_US"), I get the following error for each line of the dictionary I'd like to expand:

    awk: cannot open /tmp/wordlist.aff (No such file or directory)
    Can't open affix or dictionary files for dictionary named "/tmp/wordlist".

    Do you know how to make it work ?
    Tested on a fresh install of Debian, and Ubuntu; hunspell installed correctly.

    Thx!