added readme for sentiment analysis
authorSebastian Steiner <e1029038@student.tuwien.ac.at>
Thu, 8 Nov 2018 16:54:31 +0000 (17:54 +0100)
committerSebastian Steiner <e1029038@student.tuwien.ac.at>
Thu, 8 Nov 2018 16:54:31 +0000 (17:54 +0100)
service-analysis/README.md [new file with mode: 0644]

diff --git a/service-analysis/README.md b/service-analysis/README.md
new file mode 100644 (file)
index 0000000..59f472f
--- /dev/null
@@ -0,0 +1,9 @@
+# Sentiment Service
+
+
+## API
+
+You can post a json string to the REST API on http://localhost:8081/.
+The json string needs to contain name-value key 'text'.
+
+The service uses the online sentiment analysis tool indico to get the sentiment for each text, calculates the average sentiment value and returns it.