Skip to main content

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

Project description

package: word_search

GitHub: https://github.com/mjaglan/py-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/client_example.py in GitHub at

https://github.com/mjaglan/py-word-search/blob/master/client/client_example.py

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 0.0.2.20180411
Filename, size File type Python version Upload date Hashes
Filename, size word_search-0.0.2.20180411.tar.gz (172.2 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page