nlp / SentimentAnalysis / 1.0.5
Sentiment Analysis
Royalty Free
Determine positive or negative sentiment from text
Language
Java
Metrics
API Calls - 18,577,664
Avg call duration -
175.19sec
Permissions
This is not a recognized license.
This is necessary for algorithms that rely on external services,
however it also implies that this algorithm is able to send your
input data outside of the Algorithmia platform.
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
[
{
"sentiment": 0.474,
"document": "I really like Algorithmia!"
}
]
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
Use
algo run nlp/SentimentAnalysis/1.0.5 -d '{
"document": "I really like Algorithmia!"
}' --timeout 300