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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Hashes for word_search-0.0.1.20180411.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 63b6d071de326ec0b51c8a7acb88ce7f468a0ee2c7ce35b37ce7ab7b7e739275 |
|
MD5 | dc6dd4f7a08115865ec4505b66e1e928 |
|
BLAKE2b-256 | 651effa5c9dd69f8bb5791881bd5d7c2d88bf51a91aad1c4ed4018ec27b505d8 |