suggest-five
Suggest answers for a popular five-letter word game.
Usage
suggest-five takes as an argument a text file which should contain all possible puzzle answers, one per line:
$ suggest-five -a answers.txt
The official word list may be downloaded from several locations. As an alternative, a list of five-letter words can be generated using the python module wordfreq.
Once loaded, the programme will suggest a series of words. After each word, you should let suggest-five know the
results from using that word by pressing G to denote a correct match, Y to denote a letter in the wrong position
and B to denote an incorrect letter.
How it works
The current algorithm is still quite naïve. It uses the feedback from the game to filter its word list without doing anything much smarter. For example, if you report that the letter X is ⬛, future suggestions will omit any words with an X.
Performance
Performance is measured using the original official word list. Across all words, the average number of attempts needed to guess each word was 4.35 and the algorithm failed to guess the correct word in 6 attempts 2.5% of the time.
Metadata
Release files for suggest-five 0.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| suggest-five-0.0.2.tar.gz | 18.4 kB | Without provenance | Details for suggest-five-0.0.2.tar.gz |
Release files / suggest-five-0.0.2.tar.gz
| Download URL | suggest-five-0.0.2.tar.gz |
|---|---|
| Size | 18.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4ff89a92fb5c66263486685cdba0daabc9942a7386d0b1efeaf59239927b52a7
|
|
BLAKE2b-256 checksum How to use checksums |
0bbcb709062461d6b0d865eaefff2222b3dfb5032ec44ba19ce189d254a96d5c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.0 CPython/3.10.4
|
Security for suggest-five 0.0.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.