🔤 Auto Correct Tool
AI-Powered Grammar Correction Tool | Python | Machine Learning
Auto Correct Tool
A Python-based text correction tool with GUI interface that uses the T5 transformer model for grammar correction. This tool helps users correct grammar and spelling mistakes in real-time using advanced machine learning.
Features
- Real-time text correction using T5 transformer model
- User-friendly GUI interface built with tkinter
- Copy to clipboard functionality
- Clear text option
- Proper sentence capitalization
- Error handling and user feedback
- Multi-sentence support
Requirements
- Python 3.x
- happytransformer
- tkinter (usually comes with Python)
Installation
- Clone the repository:
git clone https://github.com/iamrealvinnu/autocorrect-tool.git
cd autocorrect-tool
- Install required packages:
pip install happytransformer
Usage
- Run the script:
python autoCorrect_tool.py
- Using the tool:
- Enter or paste your text in the top text area
- Click "Correct Text" to process
- The corrected version will appear in the bottom text area
- Use "Copy Corrected Text" to copy to clipboard
- "Clear Text" removes all content from both areas
How It Works
The tool uses the T5 (Text-to-Text Transfer Transformer) model specifically trained for grammar correction. It:
- Processes input text through the model
- Applies proper capitalization
- Handles multiple sentences appropriately
- Provides immediate feedback for any errors
Contributing
Feel free to:
- Report bugs
- Suggest features
- Submit pull requests
Author
- Vinay Gupta (https://github.com/iamrealvinnu)
License
This project is open source and available under the MIT License.
Technical Implementation
- Implemented using Python and T5 Transformer model
- Built GUI using Tkinter for cross-platform compatibility
- Integrated advanced NLP capabilities using happytransformer
- Implemented error handling and user feedback system
- Used object-oriented programming principles
Future Enhancements
- Support for multiple languages
- Advanced text formatting options
- Cloud-based processing
- API integration capabilities
Connect With Me
LinkedIn: https://www.linkedin.com/in/guptavinayc/ Portfolio: https://www.gupta-vinay-portfolio.netlify.app Email: [email protected]
Development Setup
# Clone the repository
git clone https://github.com/iamrealvinnu/autocorrect-tool.git
# Navigate to project directory
cd autocorrect-tool
# Install dependencies
pip install -r requirements.txt
# Run the application
python autoCorrect_tool.py