Update README.md
authorSebastian Steiner <e1029038@student.tuwien.ac.at>
Tue, 11 Dec 2018 16:07:51 +0000 (17:07 +0100)
committerSebastian Steiner <e1029038@student.tuwien.ac.at>
Tue, 11 Dec 2018 16:07:51 +0000 (17:07 +0100)
service-analysis/README.md

index 243c4857d06ff956a806c4c33be24695a3e3cbd2..aa0e4c0772c79291ce555724e6d964b9738404eb 100644 (file)
@@ -39,10 +39,9 @@ JSON string may contain more value-key pairs than 'text', but 'text' is needed f
 - pip
   -> indicoio
   -> flask
-  -> flask_restfut
+  -> flask_restful
+
 ### commands
 - `python3.7 sentiment_analysis.py`
-- positive sentiment test example:
-  -> `curl -vs -H 'content-type: application/json' -X POST http://localhost:8081 -d '[{"text":"happy birthday, i love you"}]'`
-- negative sentiment test example:
-  -> `curl -vs -H 'content-type: application/json' -X POST http://localhost:8081 -d '[{"text":"i hate you, please die"}]'`
+- positive sentiment test example: `curl -vs -H 'content-type: application/json' -X POST http://localhost:8081 -d '[{"text":"happy birthday, i love you"}]'`
+- negative sentiment test example: `curl -vs -H 'content-type: application/json' -X POST http://localhost:8081 -d '[{"text":"i hate you, please die"}]'`