Last active
August 27, 2020 11:05
-
-
Save willprice76/110633b6a9af4e003935ff225f69ad2d to your computer and use it in GitHub Desktop.
example request to train
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
curl -X POST -H --data | |
"[{\"text\": \"I love Spark NLP\", \"label\": \"positive\"}, {\"text\": \"I hate using Scala objects in Java\", \"label\": \"negative\"}]" | |
http://localhost:8080/sentiment/train |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment