Python CLI tool to analyze the word count and letter usage in text files. Be it a simple note, a long essay, or a full fledged novel - analyze texts of all sorts and lengths!
The program creates a report with the word count from each file as well as a list of letters in that file from the English alphabet and the amount of their occurrences in descending order. See below for a sample output.
Requires python3.7+ Get Python from python.org
Fork this repo, then clone it to your local machine:
git clone https://github.com/YOUR-USERNAME/bookbot
cd bookbot
mv PATH-TO-YOUR-TEXTFILE /texts
You can add as many files as you like - they will be analyzed in one go and be presented in alphabetical order. Please check the supported file types below.
Currently, the following file types are supported:
- .txt
- .docx
- .odt
- .rtf
- .md
- .mdx
- .html
From inside the project's root directory, run:
python main.py
Enjoy!
Contributions are always welcome! Please check the Code of Conduct .
The project is licensed under the MIT License.