A simple Flask-based API that performs sentiment analysis, keyword extraction, and aspect classification on customer reviews.
POST /analyze
{
"review": "This product is amazing!"
}
{
"review": "This product is amazing!",
"sentiment": "Positive",
"keywords": ["product", "amazing"],
"aspect": "Product Quality"
}
pip install -r requirements.txt
python app.py