Skip to content

Conversation

@manroop04
Copy link

Text Analyzer πŸ“

Added a Python-based text analysis tool that provides comprehensive statistics and insights about any text document or manual input.

Features ✨

  • Word Count - Count total number of words in the text
  • Character Count - Count all characters including spaces and punctuation
  • Sentence Count - Automatically detect and count sentences
  • Most Common Words - Identify frequently used words with their frequencies
  • Dual Input Methods - Analyze text entered manually or read from a file
  • Stop Words Filtering - Excludes common words for more meaningful analysis

Option 1: Manual Text Entry

  1. Select option 1 from the menu
  2. Type or paste your text
  3. Press Enter twice when finished
  4. View the analysis results

Option 2: File Upload

  1. Select option 2 from the menu
  2. A file browser window will open automatically
  3. Navigate to and select your text file
  4. View the analysis results

Option 3: Exit

Select option 3 to close the program

Example Output πŸ“Š

==================================================
TEXT ANALYSIS RESULTS
==================================================

Total Characters: 523
Total Words: 98
Total Sentences: 5

Most Common Words:
------------------------------
1. 'python' - 12 times
2. 'text' - 8 times
3. 'analysis' - 7 times
4. 'program' - 5 times
5. 'file' - 4 times
==================================================

@manroop04
Copy link
Author

Please label it under hacktoberfest-accepted

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant