GetNGramFrequencies

(no tags)

Algorithmia Platform License
apl
· Internet Access

This algorithm has Internet access.

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.

Run an Example

[
  {
    "ngram": "this is",
    "frequency": 2
  },
  {
    "ngram": "a test",
    "frequency": 2
  },
  {
    "ngram": "to work",
    "frequency": 1
  },
  {
    "ngram": "is going",
    "frequency": 1
  },
  {
    "ngram": "well as",
    "frequency": 1
  }
]

Install & Use

Use

curl -X POST -d '["This is a test of what this is. Hopefully this is going to work well as a test.", 2, 5, false, true]' -H 'Content-Type: application/json' -H 'Authorization: Simple YOUR_API_KEY' https://api.algorithmia.com/v1/algo/WebPredict/GetNGramFrequencies/0.1.1