Book-Bot is a simple Python script that analyzes a text file. It counts the total number of words and the frequency of each character in the text.
- Clone or download this repository.
- Make sure you have Python 3 installed on your machine.
- Open a terminal and navigate to the repository directory.
- Run the script with the path to the text file you want to analyze:
python3 main.py path/to/your/book.txtThe script will output the total word count and a breakdown of character frequencies for the given text file.
| File | Description |
|---|---|
main.py |
Entryâpoint script that reads a text file, computes word and character counts, and prints a report. |
stats.py |
Helper module with a function to sort the character count dictionary. |
README.md |
Documentation and usage instructions. |
MIT © 2025 Tiger Yang
Built by Tiger Yang â Vanderbilt University · CS + HOD double major.