nlp

nlp / SentimentByTerm / 0.1.3

Sentiment By Term

Royalty Free
Find the sentiment associated with particular words in a document
Language
Java
Metrics
API Calls - 34,182 Avg call duration - 22.07sec
Permissions
The Algorithm Platform License is the set of terms that are stated in the Software License section of the Algorithmia Application Developer and API License Agreement. It is intended to allow users to reserve as many rights as possible without limiting Algorithmia's ability to run it as a service. Learn More
This allows an algorithm to compose sophisticated functionality using other algorithms as building blocks, however it also carries the potential of incurring additional royalty and usage costs from any algorithm that it calls.

Run an Example

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

Install and Use

Install

Install the Algorithmia CLI client by running:

curl -sSLf https://algorithmia.com/install.sh | sh

Then authenticate by running:

$ algo auth # When prompted for api endpoint,
        hit enter
        # When prompted for API key, enter your key:
        YOUR_API_KEY
CLI Install Docs

Use



  algo run nlp/SentimentByTerm/0.1.3 -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"]}
]' --timeout 300
CLI Docs