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

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.1