BookBot is a command-line tool that analyzes the text of a book and reports word count and character frequency. First Boot.dev project.
python3 main.py <path_to_book>Example:
python3 main.py books/frankenstein.txtSample output:
============ BOOKBOT ============
Analyzing book...
----------- Word Count ----------
Found 78121 total words
---------- Character Count -------
e: 46043
t: 30365
...
---------- END -------