Sentiment Time Series

Create sentiment time series plot from unstructured text data.

Algorithmia Platform License · Internet Access · Calls Other Algorithms

Run an Example

"{\"output_plot\":\"data://nlp/SentimentTimeSeries/sent_timeseries_plot.png\",\"output_file\":\"data://nlp/SentimentTimeSeries/sent_freq_file.json\"}"

Install & Use

Use

curl -X POST -d '{"input_file":"data://nlp/SentimentTimeSeries/tweets_with_time2.csv",
  "output_plot":"data://nlp/SentimentTimeSeries/sent_timeseries_plot.png",
  "output_file":"data://nlp/SentimentTimeSeries/sent_freq_file.json",
  "start":[2016,7],
  "end": [2016,10],
  "freq":12,
  "dt_format":"%Y/%m/%d",
  "tm_zone":"GMT"}' -H 'Content-Type: application/json' -H 'Authorization: Simple YOUR_API_KEY' https://api.algorithmia.com/v1/algo/nlp/SentimentTimeSeries/0.1.0