A Python-based text analysis tool that performs multiple string operations such as counting vowels, consonants, digits, word analysis, palindrome detection, and character frequency.
- β Count vowels in the text
- β Count consonants (letters only)
- β Count digits
- β Calculate total number of words
- β Find longest and shortest word
- β Detect palindrome words
- β Character frequency analysis (cleaned & case-insensitive)
The program takes user input and processes it using modular functions:
- Input Module β takes text input
- Analysis Module β performs string calculations
- Utility Module β handles palindrome & transformations
- Output Module β displays formatted results
I Love Python Madam 123
----WELCOME TO SMART STRING ANALYZER----
***STRING ANALYSIS REPORT***
Original Text: I Love Python Madam 123
Vowels Count: 6
Consonants Count: 17
Digits Count: 3
Words Count: 5
Longest word: Python
Shortest word: I
Palindrome: ['Madam']
Character Frequency:
o : 2
m : 2
a : 2
i : 1
l : 1
...
- Python π
- Built-in libraries (
collections.Counter)
smart_string_analyzer.py
README.md
- Clone the repository
git clone https://github.com/Rohini2431/smart-string-analyzer.git
- Navigate to the folder
cd smart-string-analyzer
- Run the program
python smart_string_analyzer.py
- πΉ Menu-driven CLI interface
- πΉ File input/output support
- πΉ GUI version using Tkinter
- πΉ Advanced NLP features
Rohini Seelam Aspiring Software Developer | Python Enthusiast
If you like this project, give it a β on GitHub!