Key Phrases

this algorithm uses parsymcparseface from google to translate english sentences to sequences of objects and actions.

(no tags)

Algorithmia Platform License · Calls Other Algorithms

This algorithm has permission to call other algorithms.

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

{
  "phrases": [
    "s: An engineer ",
    "a: is trying to design ",
    "o: a faster submarine. ",
    "a: Would ",
    "s: she ",
    "a: prefer to study ",
    "o: a fish or a flock /of birds? "
  ],
  "text": "An engineer is trying to design a faster submarine. \nWould she prefer to study a fish or a flock of birds?"
}

Install & Use

Use

curl -X POST -d '"An engineer is trying to design a faster submarine. \nWould she prefer to study a fish or a flock of birds?"' -H 'Content-Type: application/json' -H 'Authorization: Simple YOUR_API_KEY' https://api.algorithmia.com/v1/algo/dbgannon/KeyPhrases/0.1.2