Frequently Asked Questions (FAQ) about Text Analytics API (Cognitive Services)
Find answers to commonly asked questions about concepts, code, and scenarios related to the Text Analytics API for Microsoft Cognitive Services on Azure.
Can Text Analytics identify sarcasm?
Analysis is for positive-negative sentiment rather than mood detection.
There is always some degree of imprecision in sentiment analysis, but the model is most useful when there is no hidden meaning or subtext to the content. Irony, sarcasm, humor, and similarly nuanced content rely on cultural context and norms to convey intent. This type of content is among the most challenging to analyze. Typically, the greatest discrepancy between a given score produced by the analyzer and a subjective assessment by a human is for content with nuanced meaning.
Can I add my own training data or models?
No, the models are pretrained. The only operations available on uploaded data are scoring, key phrase extraction, and language detection. We do not host custom models. If you want to create and host custom machine learning models, consider the machine learning capabilities in Microsoft R Server.
Can I request additional languages?
Sentiment analysis and key phrase extraction are available for a select number of languages. Natural language processing is complex and requires substantial testing before new functionality can be released. For this reason, we avoid pre-announcing support so that no one takes a dependency on functionality that needs more time to mature.
To help us prioritize which languages to work on next, vote for specific languages on User Voice.
Why does key phrase extraction return some words but not others?
Key phrase extraction eliminates non-essential words and standalone adjectives. Adjective-noun combinations, such as "spectacular views" or "foggy weather" are returned together.
Generally, output consists of nouns and objects of the sentence. Output is listed in order of importance, with the first phrase being the most important. Importance is measured by the number of times a particular concept is mentioned, or the relation of that element to other elements in the text.
Why does output vary, given identical inputs?
Improvements to models and algorithms are announced if the change is major, or quietly slipstreamed into the service if the update is minor. Over time, you might find that the same text input results in a different sentiment score or key phrase output. This is a normal and intentional consequence of using managed machine learning resources in the cloud.
Is your question about a missing feature or functionality? Consider requesting or voting for it on our User Voice web site.