v3

latestSwagger 2.0raw.githubusercontent.com2019-05-2341918.4 KB
Key Phrases

The API returns a list of strings denoting the key talking points in the input text.

See the <a href="https://docs.microsoft.com/en-us/azure/cognitive-services/text-analytics/overview#supported-languages">Text Analytics Documentation</a> for details about the languages that are supported by key phrase extraction.

post/keyPhrases

Request body

Example request

{
  "documents": [
    {
      "language": "en",
      "id": "1",
      "text": "Hello world. This is some input text that I love."
    },
    {
      "language": "fr",
      "id": "2",
      "text": "Bonjour tout le monde"
    },
    {
      "language": "es",
      "id": "3",
      "text": "La carretera estaba atascada. Había mucho tráfico el día de ayer."
    }
  ]
}

Response

A successful response results in 0 or more key phrases identified in each valid document

All 4 operations