Text Analytics
Use the Text Analytics action to provide an advanced natural language processing over raw text that includes the following types of analysis:
Language detection
Sentiment analysis
Key phrase extraction
Entity recognition
For more information, see Azure Text Analytics.
Complete the following steps to use the Text Analytics action in your workflow:
1. Drag the Text Analytics action under the Azure connector to the canvas, place the pointer on the action, and then click or double-click the action.
The Text Analytics window opens.
2. Edit the Label, if needed. By default, the label name is the same as the action name.
3. To add an authentication scheme, refer to Authorize Azure.
If you previously added an authentication scheme for Azure, select it from the list.
4. In the Resource Group list, select the appropriate resource group defined under your Azure subscription.
5. In the Speech Service Account list, select the Speech account defined in your resource group.
6. In the Select Specific Service list, select one of the following options:
Detect Language — Detects language of the input text with a numeric score between 0 and 1. A score closer to 1 indicates that the identified language is correct.
Get Recognized Entities — Detects all named entities in the text, such as organizations, people, locations and so on.
Get Key Phrases — Detects the key phrases in the input text.
Sentiment Analysis — Detects the sentiment of the text with a numeric score between 0 and 1. A score closer to 1 indicates a positive sentiment and a score closer to 0 indicates a negative sentiment.
7. Under the Documents section, click Add, and do the following:
In the Text field, enter the text that you want to analyze.
In the Language list, select the language of the input text.
You do not provide the Language field for the Detect Language service.
Click Add to add multiple input texts. Alternatively, click to delete any input texts that you added.
8. Click Done.
Output Schema
Each Text Analytics service has its own output schema.
Detect Language — Returns an array that provides the detected language and its confidence score.
The following image shows the sample output schema:
Get Recognized Entities — Returns an array that provides information about the detected entities.
The following image shows the sample output schema:
Get Key Phrases — Returns an array of detected key phrases in the document.
The following image shows the sample output schema:
Sentiment Analysis — Returns the sentiment score of the document.
The following image shows the sample output schema: