Geneea sentiment analysis API
A Docker image used for running the sentiment analysis API.
Running a container
This container can be run from the Registry using:
sudo docker run \ --volume=/home/ec2-user/data:/data \ --rm \ geneea/keboola-sentiment:latest
--volume needs to be adjusted accordingly.
storage: input: tables: 0: source: source.csv output: tables: 0: source: sentiment.csv parameters: user_key: <ENTER API KEY HERE> id_column: id data_column: text language: en # OPTIONAL domain: "news articles" # OPTIONAL use_beta: false # OPTIONAL
id,text 1,"He won gold and silver medals at the past two Olympic Games, and even has an aquatic arena named after him." 2,"The museum was considered to host one of the world's greatest archaeological collections." 3,"These measurements should allow us to confirm some of the basic features of the greenhouse effect."
id,sentiment 1,0.29192017968 2,0.160356745147 3,0.0485071250073