معرفی شرکت ها


amitkh-wordle-0.3.0


Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر

توضیحات

Entropy based Wordle Solver (CLI). Inspired by 3 Blue 1 Brown
ویژگی مقدار
سیستم عامل -
نام فایل amitkh-wordle-0.3.0
نام amitkh-wordle
نسخه کتابخانه 0.3.0
نگهدارنده []
ایمیل نگهدارنده []
نویسنده Amit Kumar
ایمیل نویسنده amitkh@gmail.com
آدرس صفحه اصلی https://github.com/amit-kumarh/wordle-solver
آدرس اینترنتی https://pypi.org/project/amitkh-wordle/
مجوز -
## Entropy based Wordle solver CLI built with Typer. Based on [this](https://www.youtube.com/watch?v=v68zYyaEmEA) video from 3 Blue 1 Brown ## Installation ``` pip install amitkh-wordle ``` ## Quick Start 1. The solver needs to generate a pattern dictionary containing all of the word and pattern combinations in order to run. To do this, run `wordle gen-pattern-dict`. This process will take around 10-15 minutes. 1. By default the dictionary will be compressed using bz2 to about 200 MB. You can also specify the `--no-compress` option which will save the pickle without compression and will result in quicker load times, but take about 800 MB of storage . 2. To run the solver in interactive mode, run `wordle play`. This will be followed by roughly 2 minutes of setup time while the program loads in the pattern dictionary and calculates the initial guess. 1. For maximum speed, you can also add the `-s` flag, which runs the solver in time saving mode. This means instead of spending 1 minute or so calculating the first guess, which is always "tares", it simply assumes this to be the first guess and allows you to enter your pattern from "tares" straight away. 3. After this, you will be presented with some information and prompted for a guess. The program will present you the top 10 guesses (though you can guess any word you would like), along with (from left to right) the expected score should you play that guess, the expected information that guess will provide in bits, and the probability that guess is the answer. 1. If there are under 20 words remaining, the program will also print out those remaining words along with the probability that they are a potential answer based on frequency (which is not the same as the probability that they are the answer to this game). 4. From there, simply type in your guesses and the pattern that was returned to you according to the instructions, and repeat until solved. ## Other Functions 1. `wordle play-words` 1. This command allows you to pass in a word or list of words to be played by the solver, like so `wordle play-words snake cater abyss` 2. `wordle test-all` 1. This command runs the wordle solver on all of the 2,315 answers to the additional wordle, tracking the number of guesses taken for each, and writing them as a JSON to the file name given as an argument 3. `wordle --help` 1. Display a brief help message


نیازمندی

مقدار نام
>=0.4.0,<0.5.0 typer
>=4.63.0,<5.0.0 tqdm
>=1.8.0,<2.0.0 scipy
>=3.0.0,<4.0.0 wordfreq
>=1.22.3,<2.0.0 numpy


زبان مورد نیاز

مقدار نام
>=3.8,<3.11 Python


نحوه نصب


نصب پکیج whl amitkh-wordle-0.3.0:

    pip install amitkh-wordle-0.3.0.whl


نصب پکیج tar.gz amitkh-wordle-0.3.0:

    pip install amitkh-wordle-0.3.0.tar.gz