“The goal here wasn't really to create a good version of Wordle, it was to build 80% of Wordle in a different language to see what it looks like.”
It'd be very easy to check against just a list of words, but that'd require more storage and be slower than a bloom filter.