Skip to content

bracyw/word_list_utils

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Word list utils

Requirements

Install python 3

Utils

Alphabetically ordered wordle word splitter (split)

Requirements

Have a word list of 5 letter words that is alphabetically ordered.

Usage

open a terminal in the project directory run python3 -m bin.main split <path to word list> --output-dir <path to output directory> on mac (or windows / linux distro equivalent)

Output

You can find your word list split into a .txt files for each letter of the alphabet in the output directory.

Verify one txt to many (verify)

Requirements

already have txt files in another directory that you want to compare there words to a single file word list (usually used to confirm correct output by the split command above)

Usage

open a terminal in the project directory run python3 -m bin.main verify <path to word list> --output-dir <path to other files dir> on mac (or windows / linux distro equivalent)

Output

Will print to terminal

Summarize memory (summarize)

Requirements

already have txt files in another directory that you want to summarize by taking the first word in each file and putting them into one summary file.

Usage

open a terminal in the project directory run python3 -m bin.main summarize --output-dir <path to other files dir> on mac (or windows / linux distro equivalent)

Output

Will save a file named summary_of_words.txt to your output directory, that contains the first word in each of the files in the output directory given (will also save that file there).

Contribution Guide

Feel free to add on to this... in fact any time travelers that find out cool ways to speed up reading form files feel free to put up a pr.

Summarize memory (diverse-summarize)

Requirements

already have txt files in another directory that you want to summarize by taking a diverse sample from all those txt files with 5 letter words. Diverse meaning that the program will choose the first word that conflicts the least with the letter's in previously sampled words.

Usage

open a terminal in the project directory run python3 -m bin.main diverse-summarize --output-dir <path to other files dir> on mac (or windows / linux distro equivalent)

Output

Will save a file named diverse_sample_summary.txt to your output directory, that contains the diverse sample mentioned in the requirements section

Contribution Guide

Feel free to add on to this... in fact any time travelers that find out cool ways to speed up reading form files feel free to put up a pr.

About

Word list utilities that I use for school

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages