GetNGramFrequencies

(no tags)

Algorithmia Platform License · Internet Access

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