A simple flask application that uses nltk NaiveBayesClassifier to analyze a tweet in Brazilian Portuguese and return if it is whether a positive or negative tweet.
Requirements:
- Python 2.7 installed
- Pip installed and setup
- Run
pip install -r requirements.txt - Run
python app.py - Access http://localhost:5000/classify?text=Esse%20tweet%20%C3%A9%20muito%20bom to test
TODO
- Make classifier work with csv file
- Modularize app
- Add Continuous Deployment to the app
- Add tests
- Filter out words that are in both feature sets, as they don't differentiate features
- Test usage section