{"openapi":"3.2.0","info":{"title":"Microsoft Text Analytics API","description":"An AI service from Microsoft Azure that enables you to unlock insights from natural language text using sentiment analysis, named entity recognition, language detection, and key phrase extraction in multiple languages.","version":"1.0.0"},"servers":[{"url":"https://microsoft-text-analytics.jojapi.net"}],"security":[{"ApiKeyAuth":[]}],"paths":{"/entities/linking":{"post":{"operationId":"post_entities_linking","summary":"Entities Linking","description":"The API returns a list of recognized entities with links to a well-known knowledge base.","parameters":[{"name":"Content-Type","in":"header","required":false,"schema":{"type":"string","example":"application/json"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object"},"example":{"documents":[{"id":"1","language":"en","text":"I had a wonderful trip to Seattle last week."},{"id":"2","language":"en","text":"I work at Microsoft."},{"id":"3","language":"en","text":"I visited Space Needle 2 times."}]}}}}}},"/entities/recognition/general":{"post":{"operationId":"post_entities_recognition_general","summary":"Entities Recognition General","description":"The API returns a list of general named entities (Person, Location, Organization etc) in a given document. General named entities are returned with entity types.","parameters":[{"name":"Content-Type","in":"header","required":false,"schema":{"type":"string","example":"application/json"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object"},"example":{"documents":[{"id":"1","language":"en","text":"I had a wonderful trip to Seattle last week."},{"id":"2","language":"en","text":"I work at Microsoft."},{"id":"3","language":"en","text":"I visited Space Needle 2 times."}]}}}}}},"/keyPhrases":{"post":{"operationId":"post_keyPhrases","summary":"Key Phrases","description":"The API returns a list of strings denoting the key talking points in the input text.","parameters":[{"name":"Content-Type","in":"header","required":false,"schema":{"type":"string","example":"application/json"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object"},"example":{"documents":[{"id":"1","language":"en","text":"Hello world. This is some input text that I love."},{"id":"2","language":"fr","text":"Bonjour tout le monde"},{"id":"3","language":"es","text":"La carretera estaba atascada. Había mucho tráfico el día de ayer."}]}}}}}},"/languages":{"post":{"operationId":"post_languages","summary":"Detect Language","description":"The API returns the detected language and a numeric score between 0 and 1. Scores close to 1 indicate 100% certainty that the identified language is true. A total of 120 languages are supported.","parameters":[{"name":"Content-Type","in":"header","required":false,"schema":{"type":"string","example":"application/json"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object"},"example":{"documents":[{"countryHint":"US","id":"1","text":"Hello world"},{"id":"2","text":"Bonjour tout le monde"},{"id":"3","text":"La carretera estaba atascada. Había mucho tráfico el día de ayer."}]}}}}}},"/sentiment":{"post":{"operationId":"post_sentiment","summary":"Sentiment","description":"The API returns a document sentiment prediction, as well as sentiment scores for each sentiment class (Positive, Negative, and Neutral).In addition, sentence level sentiment predictions are returned.","parameters":[{"name":"Content-Type","in":"header","required":false,"schema":{"type":"string","example":"application/json"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object"},"example":{"documents":[{"id":"1","language":"en","text":"Hello world. This is some input text that I love."},{"id":"2","language":"en","text":"It's incredibly sunny outside! I'm so happy."},{"id":"3","language":"en","text":"Pike place market is my favorite Seattle attraction."}]}}}}}}},"components":{"securitySchemes":{"ApiKeyAuth":{"type":"apiKey","in":"header","name":"X-JoJAPI-Key","description":"Your JoJ API key."}}}}