web rest api service uses the text-classification package to classify and serve texts
Flask - microframework for http web services
Flask-Restless - provides generation of ReSTful APIs for database models defined using SQLAlchemy
SQLAlchemy - ORM library to map the database into OOP models
MySql - the database vendor, simple enough for this task
text-classification - python package you can see here: https://github.com/samuelazran/text-classification