puzzle
Post image
puzzle · 9 July 2022

Python based Word Search Solver

My wife tells me I am cheating, but I say my strengths are not in vocabulary and word search. My strengths are in automation.

Long story short, Capital Alliance in Sri Lanka posted a word search last Friday to look for as many finances related words in the grid. So, I did what I know more than finance… Python…

Here is my attempt at using a Python script to search any grid you give it to look for each and every word (greater than or equal to 2 letters) in the English dictionary. Once you type out the grid (or use an OCR) in a notepad, the python script will scan the grid to give location of each word available in the English dictionary (using the enchant Python library)

Word Search Output

Full python code can be found here

Word Search Output

0 Comments