Predicts the sentiment of a given sentence or tweet
810
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
Example input:
http://127.0.0.1:5000/text=I hate politics.
The output will be a string, positive or negative or neutral
Content type
Image
Digest
Size
924.6 MB
Last updated
over 9 years ago
docker pull mixedemotions/01_sentiment_analysis_nuig