This module takes in a sentence or a tweet and predicts its sentiment, which can be 'positive', 'negative', or 'neutral'. The source code can be found here: https://github.com/MixedEmotions/NUIG-sentiment
At the core of the module, there is a text classifier, which is trained in manually labeled datasets. The classifier uses a neural network based algorithm for training (convolutional neural networks).
Expected parameters: a sentence, or a tweet.
Example run command:
docker run -ti -p 8001:5000 01_sentiment_analysis_nuig
http://127.0.0.1:5000/text=I hate politics.
The output will be a string,