
• Converts text to lowercase
• Counts frequency of all unique words in the text
• Allows querying frequency of a specific word
• Python 3.6 or higher • No special installation required beyond Python
• Clone the repository (if applicable):
git clone https://github.com/albiecr/text-analysis.git
cd text-analysis
python TextAnalysis.py
1. Prompt you to enter a text
2. Show the formatted text (without punctuation and in lowercase)
3. Display frequency of all words
4. Allow searching for frequency of a specific word
The TextAnalyzer class contains:
• init: Formats text (removes punctuation and converts to lowercase)
• freqAll: Returns a dictionary with frequency of all words
• freqOf: Returns frequency of a specific word
Project Link: https://github.com/albiecr/text-analysis • Add support for more punctuation marks
• Implement case-sensitive analysis option
• Add stopwords filtering
• Create a GUI version

- Fork the project
- Create your feature branch
git checkout -b feature/AmazingFeature
- Commit your changes
git commit -m 'Add some AmazingFeature'
- Push to the branch
git push origin feature/AmazingFeature
- Open a pull request