Skip to main content

Given a dictionary, list all meaningful words in N x M grid of characters.

Project description

package: word_search


Python package that searches a 2D grid of randomly generated letters (a-z only) for valid English words. Words can be found along any diagonal, forwards, upwards, downwards or backwards and cannot ‘wrap’ between edges. To check if a word is valid, a list of words at res/input/words.txt is used as a reference dictionary.

How to run?

from word_search import word_search_hashset as hs

from word_search import word_search_trie as ts

Refer client/ in GitHub at

to see an example program.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for word-search, version
Filename, size File type Python version Upload date Hashes
Filename, size word_search- (172.2 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page