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.
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!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Wordlist shell script
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!