Comment by πŸ₯œ smallpatatas

Re: "@stack out of curiosity, where did you get the word list to…"

In: s/SpellBinding

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 :)

πŸ₯œ smallpatatas [OP]

Apr 30 Β· 7 days ago

3 Later Comments ↓

πŸš€ 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.

Original Post

πŸŒ’ s/SpellBinding

πŸ₯œ smallpatatas:

@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 ...

πŸ’¬ 5 comments Β· Apr 30 Β· 7 days ago