https://github.com/nahtanpng/bookbot
BookBot is a Python-based text analysis tool that reads text files and generates statistical reports about their contents.
https://github.com/nahtanpng/bookbot
Last synced: about 2 months ago
JSON representation
BookBot is a Python-based text analysis tool that reads text files and generates statistical reports about their contents.
- Host: GitHub
- URL: https://github.com/nahtanpng/bookbot
- Owner: nahtanPNG
- Created: 2025-04-12T21:54:52.000Z (2 months ago)
- Default Branch: main
- Last Pushed: 2025-04-12T23:05:51.000Z (2 months ago)
- Last Synced: 2025-05-05T05:04:07.070Z (about 2 months ago)
- Language: Python
- Homepage:
- Size: 5.86 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# BookBot
BookBot is a Python-based text analysis tool that reads text files and generates statistical reports about their contents.
## Description
It analyzes text files to count words and the frequency of each letter, providing insights into the composition of the text.
## Features
- Count the total number of words in a text file
- Track the occurrence of each letter (case-insensitive)
- Sort letter counts in descending order
- Generate a formatted report of the analysis results## Usage
1. Clone the repository to your local machine
2. Ensure you have Python installed
3. Run the program with your text file: `python main.py `5. View the analysis report in the terminal
## Example Output
```
============ BOOKBOT ============
Analyzing book found at books/mobydick.txt...
----------- Word Count ----------
Found 215838 total words
--------- Character Count -------
e: 119351
t: 89874
a: 79226
o: 70809
n: 66782
i: 66675
s: 65138
```