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.

Source Distribution

word_search-0.0.2.20180411.tar.gz (172.2 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page