An open API service indexing awesome lists of open source software.

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.

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
```