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
File details
Details for the file word_search-0.0.2.20180411.tar.gz
.
File metadata
- Download URL: word_search-0.0.2.20180411.tar.gz
- Upload date:
- Size: 172.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5089df0eb56e99617a468590f8051c77bbb008c1b94ec0c861e478898139caf1 |
|
MD5 | 721d26154181643fcc172e311c54eec7 |
|
BLAKE2b-256 | 714db1a38f6e0322c3466bdd11c594a0667092e06795bb8af627ee2d345c15b1 |