Skip to content

Rohini2431/smart-string-analyzer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

1 Commit
Β 
Β 
Β 
Β 

Repository files navigation

πŸ”€ Smart String Analyzer

A Python-based text analysis tool that performs multiple string operations such as counting vowels, consonants, digits, word analysis, palindrome detection, and character frequency.


πŸš€ Features

  • βœ… 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)

🧠 How It Works

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

πŸ’» Sample Input

I Love Python Madam 123

πŸ“Š Sample Output

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

πŸ› οΈ Technologies Used

  • Python 🐍
  • Built-in libraries (collections.Counter)

πŸ“‚ Project Structure

smart_string_analyzer.py
README.md

▢️ How to Run

  1. Clone the repository
git clone https://github.com/Rohini2431/smart-string-analyzer.git
  1. Navigate to the folder
cd smart-string-analyzer
  1. Run the program
python smart_string_analyzer.py

πŸ“Œ Future Improvements

  • πŸ”Ή Menu-driven CLI interface
  • πŸ”Ή File input/output support
  • πŸ”Ή GUI version using Tkinter
  • πŸ”Ή Advanced NLP features

πŸ’Ό Author

Rohini Seelam Aspiring Software Developer | Python Enthusiast


⭐ Show Your Support

If you like this project, give it a ⭐ on GitHub!

About

A Python-based text analysis tool that performs string operations like vowel/consonant count, word analysis, palindrome detection, and character frequency.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages