@stack out of curiosity, where did you get the word list to check user input against? Working on a little coding project and there are a LOT of word lists out there ...

Posted in: s/SpellBinding

๐Ÿฅœ smallpatatas

Apr 30 ยท 7 days ago

5 Comments โ†“

๐Ÿš€ stack [mod] ยท Apr 30 at 13:52:

Oh, man...

I've written about it in great detail somewhere in my gemlogs a few years back ...

Short answer: combined multiple dictionaries found online, then spent about a year or two removing garbage words, plurals, places etc. by hand.

Still work in progress

๐Ÿฅœ smallpatatas [OP] ยท Apr 30 at 14:40:

oh wow, ok thanks! Gonna skim through a couple lists I found online and will definitely dig through your gemlogs if those don't pan out :)

๐Ÿš€ stack [mod] ยท Apr 30 at 18:21:

I don't actually have the 45000 word dictionary in the gemlogs, sorry. I just remember blabbing about the process in several posts.

Normally I try to opensource things, but opening the dictionary would be too tempting, and ruin the game. So I decided to keep it a mystery.

I should set up a script to release it upon my eventual demise.

๐Ÿฅœ smallpatatas [OP] ยท May 02 at 18:31:

Yeah I think keeping it a secret is the right call for Spellbinding. Maybe I'll delete this comment later for the same reason, but I ended up going with the "3of6game" dictionary from

โ€” 12dicts

My game accepts plurals though, although maybe I'll regret that choice!

Also grabbed a couple "offensive words/slurs" lists from the web; from those I removed words w/ multiple meanings and/or are just regular swearing, then ran the resulting shorter (very offensive!) list against the big dictionary, plus some stuff like "if dict_word.startswith(bad_word[:-1])" to find plurals etc, then edited this by hand.

Guessing a lot of this sounds familiar :)

๐Ÿš€ stack [mod] ยท May 02 at 18:46:

Yes, it's a process. When I am at a reasonable computer I ssh into the server and mess with the dictionary daily.