This project is a Python-based command-line application designed to perform static analysis on text files, specifially novels like Frankenstein. It was developed as part of the Boot.dev course title "Build a Bookbot".
The purpose of this project is to introduce Python programming fundamentals while working with a real-world use case. It involves setting up a professional development environment using VS Code, Git and GitHub.
Bookbot processes text files and provides a detailed analysis, including:
- The total number of words in the document.
- The frequency of each alphabetic character in the text, sorted by usage.
- The program reads the text file (Frankenstein in this case) from a specified path.
- It calculates
- The total word count
- The frequency of each alphabetic character in the text
- A summary report is displayed in the console with these insights.
Download the full content of Frankenstein book here
Ensure the text file is located in the books/
directory and named frankenstein.txt
Run the application from the command line using the following command:
python3 main.py