Skip to content

Latest commit

 

History

History
 
 

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

🧠 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

  1. Clone this repository:

git clone https://github.com/sheylaghost/text-analyzer.git

  1. Navigate to the project directory:

cd text-analyzer

  1. Run the script:

python main.py


🧠 How to Use

  1. Run the program in your terminal.

  2. Enter or paste any text when prompted.

  3. 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!