🧠 Text Analyzer — Python Project
A simple and efficient text analyzer in Python that calculates basic statistics from user-provided text, such as total words, characters, and the most frequently used word.
🚀 Features
Counts the total number of words
Counts total characters, both with and without spaces
Identifies the most used word in the text
Displays results clearly in the terminal
🧩 Technologies Used
Python 3
Standard library collections (Counter)
📦 Installation
- Clone this repository:
git clone https://github.com/sheylaghost/text-analyzer.git
- Navigate to the project directory:
cd text-analyzer
- Run the script:
python main.py
🧠 How to Use
-
Run the program in your terminal.
-
Enter or paste any text when prompted.
-
View the automatically generated analysis.
Example:
🧠 Text Analyzer — Python Project Enter or paste the text you want to analyze:
Python is amazing. Python is powerful.
📊 Text Analysis Results: ➡️ Total words: 5 ➡️ Total characters (with spaces): 39 ➡️ Total characters (without spaces): 34 ➡️ Most used word: 'Python' (2x)
💡 Possible Future Improvements
Make the word count case-insensitive
Remove punctuation before counting
Calculate the number of unique words
Export results to a .txt or .json file
🧑💻 Author
Eyshila Ivanha de Brito Created as a Python learning exercise and open-source contribution. 💬 Feel free to open issues or suggest improvements!