Quote:
Originally Posted by painlesssunny Text Twist is a word game similar to the one in yahoo games |
wonderful game! i spent good times with it when i'm waiting for something!
tip: here is how to generate a word list for other languages than english, with GNU aspell:
Code:
aspell --clean-affixes --clean-words --lang=pt_BR dump master | cut -d / -f
1 | grep -v '[A-Z]\+' | awk '{if(length>=2 && length<=5)print $0}' > words.txt
(change pt_BR with any of your installed languages: `aspell dump dicts`)
P.S.: is there a easy way to replace (not remove) diacritics? i could only write this messy sed script:
sed -e 's_á_a_g' -e 's_à_a_g' -e 's_ä_a_g' -e 's_ã_a_g' -e 's_â_a_g' -e 's_å_a_g' -e 's_é_e_g' -e 's_è_e_g' -e 's_ë_e_g' -e 's_ê_e_g' -e 's_í_i_g' -e 's_ì_i_g' -e 's_ï_i_g' -e 's_î_i_g' -e 's_ó_o_g' -e 's_ò_o_g' -e 's_ö_o_g' -e 's_õ_o_g' -e 's_ô_o_g' -e 's_ø_o_g' -e 's_ú_u_g' -e 's_ù_u_g' -e 's_ü_u_g' -e 's_û_u_g' -e 's_ý_y_g' -e 's_ÿ_y_g' -e 's_ñ_n_g' -e 's_ç_c_g'