Sentiment By Term

Find the sentiment associated with particular words in a document

Algorithmia Platform License · Calls Other Algorithms

Run an Example

{
  "john brown": 3.5,
  "bob": 1
}

Install & Use

Use

curl -X POST -d '[
  "John Brown (Johnny to his friends) is amazing! Johnny is by far the best mechanic in the tri-state area. Bob Bozo is the worst.",
  ["john brown","bob"],
  {"john brown":["johnny"]}
]' -H 'Content-Type: application/json' -H 'Authorization: Simple YOUR_API_KEY' https://api.algorithmia.com/v1/algo/nlp/SentimentByTerm/0.1.3