- Text tokenization and preprocessing
- Sentiment analysis
- Grammar checking
- Readability assessment
- Content improvement suggestions
Follow these steps to set up and use the AI Writing Coach:
-
Clone this repository:
git clone https://github.com/yourusername/ai-writing-coach.git cd ai-writing-coach
-
Create and activate a virtual environment (optional but recommended):
python -m venv venv
source venv/bin/activate # On Windows: venv\Scripts\activate
- Install Dependenices
pip install -r requirements.txt
- Set up your OpenAI API key by creating a .env file in the project root directory:
OPENAI_API_KEY=your_api_key_here
- Run the application:
python app.py