Skip to content

Commit 165d6f3

Browse files
committed
finished sentiment analysis and language detection
1 parent 22f3410 commit 165d6f3

File tree

3 files changed

+62
-3
lines changed

3 files changed

+62
-3
lines changed

articles/ai-services/language-service/language-detection/includes/quickstarts/azure-ai-foundry.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,13 +38,13 @@ In **Configuration** there are the following options:
3838
|--------------------|-----------------------------------------|
3939
|Select API version | Select which version of the API to use. |
4040
|Select model version| Select which version of the model to use.|
41-
|Select country hint| The origin country of the input text. |
41+
|Select country hint| Select the origin country of the input text. |
4242

43-
After your operation is completed, the type of entity is displayed beneath each entity in the center pane and the **Details** section contains the following fields for each entity:
43+
After your operation is completed, the type of entity is displayed beneath each entity in the center pane and the **Details** section contains the following fields for the most detected language and script:
4444

4545
|Field | Description |
4646
|------|----------------------------|
47-
|Name|Name of the most detected language in the text.|
47+
|Sentence|
4848
|Iso 639-1 Code| The ISE 639-1 code for the most detected language.|
4949
|Confidence Score| How confident the model is in the correctness of identification of the most typed language.|
5050
|Script Name| The name of the most detected script in the text.
Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
---
2+
author: jboback
3+
manager: nitinme
4+
ms.service: azure-ai-language
5+
ms.topic: include
6+
ms.date: 02/16/2025
7+
ms.author: jboback
8+
---
9+
10+
## Prerequisites
11+
12+
* [Create a Project in Foundry in the Azure AI Foundry Portal](../../../../../ai-studio/how-to/create-projects.md)
13+
14+
## Navigate to the Azure AI Foundry Playground
15+
16+
Using the left side pane, select **Playgrounds**. Then select the **Try the Language Playground** button.
17+
18+
:::image type="content" source="../../media/quickstarts/azure-ai-foundry/foundry-playground-navigation.png" alt-text="The development lifecycle" lightbox="../../media/quickstarts/azure-ai-foundry/foundry-playground-navigation.png":::
19+
20+
## Use Sentiment Analysis in the Azure AI Foundry Playground
21+
22+
The **Language Playground** consists of four sections:
23+
24+
* Top banner: You can select any of the currently available Language services here.
25+
* Right pane: This pane is where you can find the **Configuration** options for the service, such as the API and model version, along with features specific to the service.
26+
* Center pane: This pane is where you enter your text for processing. After the operation is run, some results are shown here.
27+
* Right pane: This pane is where **Details** of the run operation are shown.
28+
29+
Here you can select the Sentiment Analysis capability my choosing the top banner tile, **Analyze sentiment**.
30+
31+
## Use Analyze sentiment
32+
33+
**Analyze sentiment** is designed to identify positive, negative and neutral sentiment in text.
34+
35+
In **Configuration** there are the following options:
36+
37+
|Option |Description |
38+
|--------------------|-----------------------------------------|
39+
|Select API version | Select which version of the API to use. |
40+
|Select model version| Select which version of the model to use.|
41+
|Select text language| Select the language of the input text. |
42+
|Enable opinion mining| Enables or disables the opinion mining skill.|
43+
44+
After your operation is completed, the type of entity is displayed beneath each entity in the center pane and the **Details** section contains the following fields for the overall sentiment and the sentiment of each sentence:
45+
46+
|Field | Description |
47+
|------|----------------------------|
48+
|Sentence number|The number of the sentence in the order it was typed. This field is not present for **Overall sentiment**.|
49+
|Sentiment| The detected overall sentiment for the segment of text.|
50+
|Scores| The amount of positive, neutral and negative sentiment detected in the text segment.|
51+
52+
The following fields are only present if opinion mining is enabled:
53+
54+
|Field | Description |
55+
|------|----------------------------|
56+
|Target|The target of the detected opinion.|
57+
|Assessments| The detected opinion and the detected persuasion (positive, neutral, negative), as well as the percent of detected persuasion.|
58+
59+
:::image type="content" source="../../media/quickstarts/azure-ai-foundry/sentiment-opinion-mining.png" alt-text="An example of Analyze sentiment in azure AI studio" lightbox="../../media/quickstarts/azure-ai-foundry/sentiment-opinion-mining.png":::

0 commit comments

Comments
 (0)