hckrnws
There was a solver years ago that used a similar technique, where you get similarity scores from three fixed words ("giant enemy crab") and it finds the target word instantly:
https://github.com/manimino/semantle-crab
The solver website seems down, but the archived version still works:
https://web.archive.org/web/20220421184123/https://crab.mani...
Regarding Semantle, I found that Pimantle (https://semantle.pimanrul.es/) is a much more satisfying implementation to actually play. It provides a 2D visualization of guesses, which lets you see the clusters and lines of similarity more clearly.
Oooh I love this, thanks for sharing.
This is super interesting, thanks for sharing! I did a similar thing a few years ago which I'd been meaning to properly finish and share, and your post was the inspiration needed to make mine public (albeit still in a state much too messy for my liking, hopefully having it public will force me to improve it).
We took fairly different approaches, but I really enjoy the visual explanation element of yours! Well done.
My investigation stemmed from wondering if the seemingly useless 1st, 10th, and 1000th nearest word similarity scores were enough to uniquely ID the word. Turns out—yes, pretty much! It's effectively just a kind of reverse engineering, similar to how you also made your own version of the game. Can definitely improve on a lot.
Tried today's puzzle and got it in two (first was 999/1000).
Here's my code & write up: https://github.com/OisinMoran/Solving-Semantle/blob/main/Sol...
This has Peter Norvig sudoku energy, in that it describes a game that is tricky enough for humans to solve that it's become a whole pastime, but is a trivial solver away from reliably defeating, and with a tiny amount of code. Once you see what they're doing with this, you're like, oh of course. Very cool.
For french speakers who want to play a similar game, there is Cémantix (https://cemantix.certitudes.org/), also based on Google's word2vec.
I was hoping this would have some application for human solving. I gave up on Semantle because I couldn't figure out any sort of strategy.
it was mentioned above, but give it another chance using the pimantle UI that provides a 2d map, much more enjoyable: https://semantle.pimanrul.es/
Semantle is weird. Words you would expect to be close are not. For example: castle is far from moat and stone. Why?
I think the way the similarity is done is based on word co-occurrence and the dataset used is news articles. So you can imagine that not a lot of news articles mention castle in that context.
I guess I get really frustrated when the rules say you are scored on "how close you are to the secret word, based on your word's meaning" with very little explanation what that means.
Then you have cases that drive me crazy, like the guess "food" is very far from the secret word "cupcake", and "toy" is actually very close to "cupcake". What?
Like, come on. This is not playable or fun.
For reference, these are the words close to "cupcake",
Crafted by Rajat
Source Code