{"note":"OpenAPI conversion -- returning structured metadata","name":"azure-com-cognitiveservices-textanalytics","description":"Text Analytics Client","version":"v2.1-preview","base_url":"","endpoints":4,"raw":"@lap v0.3\n# Machine-readable API spec. Each @endpoint block is one API call.\n@api Text Analytics Client\n@version v2.1-preview\n@auth ApiKey Ocp-Apim-Subscription-Key in header\n@endpoints 4\n@toc keyPhrases(1), languages(1), sentiment(1), entities(1)\n\n@group keyPhrases\n@endpoint POST /keyPhrases\n@desc The API returns a list of strings denoting the key talking points in the input text.\n@required {input: map # Collection of documents to analyze. Documents can now contain a language field to indicate the text language}\n@returns(200) A successful response results in 0 or more key phrases identified in each valid document\n\n@endgroup\n\n@group languages\n@endpoint POST /languages\n@desc The API returns the detected language and a numeric score between 0 and 1.\n@required {input: map # Collection of documents to analyze.}\n@returns(200) A successful call results in the detected language with the highest probability for each valid document\n\n@endgroup\n\n@group sentiment\n@endpoint POST /sentiment\n@desc The API returns a numeric score between 0 and 1.\n@required {input: map # Collection of documents to analyze.}\n@returns(200) A successful call results in each valid document getting a sentiment score between 0 and 1\n\n@endgroup\n\n@group entities\n@endpoint POST /entities\n@desc The API returns a list of recognized entities in a given document.\n@required {input: map # Collection of documents to analyze.}\n@returns(200) A successful call results in a list of recognized entities returned for each valid document\n\n@endgroup\n\n@end\n"}