You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -65,7 +64,7 @@ These tables highlight language availability by service category; core languages
65
64
|[Content Moderator: Text Filtering](https://docs.microsoft.com/azure/cognitive-services/content-moderator/text-moderation-api-languages)|:heavy_check_mark:|:heavy_check_mark:|:heavy_check_mark:|:heavy_check_mark:|:heavy_check_mark:|:heavy_check_mark:|:heavy_check_mark:|:heavy_check_mark:|:heavy_check_mark:|:heavy_check_mark:|:heavy_check_mark:|:heavy_check_mark:|:heavy_check_mark:|:heavy_check_mark:|:heavy_check_mark:|:heavy_check_mark:|:heavy_check_mark:|:heavy_check_mark:|:heavy_check_mark:|:heavy_check_mark:|:heavy_check_mark:|:heavy_check_mark:|:heavy_check_mark:|:heavy_check_mark:|:heavy_check_mark:|:heavy_check_mark:|:heavy_check_mark:|:heavy_check_mark:|:heavy_check_mark:|:heavy_check_mark:|
Copy file name to clipboardExpand all lines: articles/cognitive-services/text-analytics/how-tos/text-analytics-how-to-call-api.md
+10-10Lines changed: 10 additions & 10 deletions
Original file line number
Diff line number
Diff line change
@@ -9,7 +9,7 @@ manager: nitinme
9
9
ms.service: cognitive-services
10
10
ms.subservice: text-analytics
11
11
ms.topic: conceptual
12
-
ms.date: 02/13/2019
12
+
ms.date: 02/26/2019
13
13
ms.author: aahi
14
14
---
15
15
@@ -22,7 +22,7 @@ Each request must include your access key and an HTTP endpoint. The endpoint spe
22
22
Recall that Text Analytics is stateless so there are no data assets to manage. Your text is uploaded, analyzed upon receipt, and results are returned immediately to the calling application.
23
23
24
24
> [!Tip]
25
-
> For one-off calls to see how the API works, you can send POST requests from the built-in **API testing console**, available on any [API doc page](https://westus.dev.cognitive.microsoft.com/docs/services/TextAnalytics.V2.0/operations/56f30ceeeda5650db055a3c6). There is no setup, and the only requirements are to paste an access key and the JSON documents into the request.
25
+
> For one-off calls to see how the API works, you can send POST requests from the built-in **API testing console**, available on any [API doc page](https://westcentralus.dev.cognitive.microsoft.com/docs/services/TextAnalytics-v2-1/operations/56f30ceeeda5650db055a3c6). There is no setup, and the only requirements are to paste an access key and the JSON documents into the request.
26
26
27
27
## Prerequisites
28
28
@@ -56,10 +56,10 @@ The service accepts request up to 1 MB in size. If you are using Postman (or ano
56
56
57
57
Resource endpoints are as follows (your region may vary):
@@ -77,10 +77,10 @@ The service accepts request up to 1 MB in size. If you are using Postman (or ano
77
77
78
78
5. Paste in some JSON documents in a format that is valid for the intended analysis. For more information about a particular analysis, see the topics below:
Copy file name to clipboardExpand all lines: articles/cognitive-services/text-analytics/how-tos/text-analytics-how-to-entity-linking.md
+15-19Lines changed: 15 additions & 19 deletions
Original file line number
Diff line number
Diff line change
@@ -9,13 +9,13 @@ manager: nitinme
9
9
ms.service: cognitive-services
10
10
ms.subservice: text-analytics
11
11
ms.topic: article
12
-
ms.date: 02/13/2019
12
+
ms.date: 04/16/2019
13
13
ms.author: aahi
14
14
---
15
15
16
-
# How to use Named Entity Recognition in Text Analytics (Preview)
16
+
# How to use Named Entity Recognition in Text Analytics
17
17
18
-
The [Entity Recognition API](https://westus.dev.cognitive.microsoft.com/docs/services/TextAnalytics-V2-1-Preview/operations/5ac4251d5b4ccd1554da7634) takes unstructured text, and for each JSON document, returns a list of disambiguated entities with links to more information on the web (Wikipedia and Bing).
18
+
The [Named Entity Recognition API](https://westcentralus.dev.cognitive.microsoft.com/docs/services/TextAnalytics-v2-1/operations/5ac4251d5b4ccd1554da7634) takes unstructured text, and for each JSON document, returns a list of disambiguated entities with links to more information on the web (Wikipedia and Bing).
19
19
20
20
## Entity Linking and Named Entity Recognition
21
21
@@ -24,12 +24,10 @@ The Text Analytics' `entities` endpoint supports both named entity recognition (
24
24
### Entity Linking
25
25
Entity linking is the ability to identify and disambiguate the identity of an entity found in text (for example, determining whether the "Mars" is being used as the planet or as the Roman god of war). This process requires the presence of a knowledge base to which recognized entities are linked - Wikipedia is used as the knowledge base for the `entities` endpoint Text Analytics.
26
26
27
-
In Text Analytics [Version 2.0](https://westus.dev.cognitive.microsoft.com/docs/services/TextAnalytics.V2.0/operations/5ac4251d5b4ccd1554da7634), only entity linking is available.
28
-
29
27
### Named Entity Recognition (NER)
30
28
Named entity recognition (NER) is the ability to identify different entities in text and categorize them into pre-defined classes. The supported classes of entities are listed below.
31
29
32
-
In Text Analytics [Version 2.1-Preview](https://westus.dev.cognitive.microsoft.com/docs/services/TextAnalytics-V2-1-Preview/operations/5ac4251d5b4ccd1554da7634), both entity linking and named entity recognition (NER) are available.
30
+
In Text Analytics [Version 2.1](https://westcentralus.dev.cognitive.microsoft.com/docs/services/TextAnalytics-v2-1/operations/5ac4251d5b4ccd1554da7634), both entity linking and named entity recognition (NER) are available.
33
31
34
32
### Language support
35
33
@@ -67,7 +65,7 @@ Using entity linking in various languages requires using a corresponding knowled
67
65
68
66
## Preparation
69
67
70
-
You must have JSON documents in this format: id, text, language
68
+
You must have JSON documents in this format: ID, text, language
71
69
72
70
For currently supported languages, see [this list](../text-analytics-supported-languages.md).
73
71
@@ -90,16 +88,16 @@ Document size must be under 5,120 characters per document, and you can have up t
90
88
91
89
Details on request definition can be found in [How to call the Text Analytics API](text-analytics-how-to-call-api.md). The following points are restated for convenience:
92
90
93
-
+ Create a **POST** request. Review the API documentation for this request: [Entity Linking API](https://westus.dev.cognitive.microsoft.com/docs/services/TextAnalytics.V2.0/operations/5ac4251d5b4ccd1554da7634)
91
+
+ Create a **POST** request. Review the API documentation for this request: [Entity Linking API](https://westcentralus.dev.cognitive.microsoft.com/docs/services/TextAnalytics-v2-1/operations/5ac4251d5b4ccd1554da7634)
94
92
95
-
+ Set the HTTP endpoint for entity extraction. It must include the `/entities` resource: `https://[your-region].api.cognitive.microsoft.com/text/analytics/v2.1-preview/entities`
93
+
+ Set the HTTP endpoint for entity extraction. It must include the `/entities` resource: `https://[your-region].api.cognitive.microsoft.com/text/analytics/v2.1/entities`
96
94
97
95
+ Set a request header to include the access key for Text Analytics operations. For more information, see [How to find endpoints and access keys](text-analytics-how-to-access-key.md).
98
96
99
97
+ In the request body, provide the JSON documents collection you prepared for this analysis
100
98
101
99
> [!Tip]
102
-
> Use [Postman](text-analytics-how-to-call-api.md) or open the **API testing console** in the [documentation](https://westus.dev.cognitive.microsoft.com/docs/services/TextAnalytics-V2-1-Preview/operations/5ac4251d5b4ccd1554da7634) to structure a request and POST it to the service.
100
+
> Use [Postman](text-analytics-how-to-call-api.md) or open the **API testing console** in the [documentation](https://westcentralus.dev.cognitive.microsoft.com/docs/services/TextAnalytics-v2-1/operations/5ac4251d5b4ccd1554da7634) to structure a request and POST it to the service.
103
101
104
102
## Step 2: Post the request
105
103
@@ -276,18 +274,16 @@ An example of the output for entity linking is shown next:
276
274
277
275
In this article, you learned concepts and workflow for entity linking using Text Analytics in Cognitive Services. In summary:
278
276
279
-
+[Entities API](https://westus.dev.cognitive.microsoft.com/docs/services/TextAnalytics-V2-1-Preview/operations/5ac4251d5b4ccd1554da7634) is available for selected languages.
280
-
+ JSON documents in the request body include an id, text, and language code.
277
+
+[Entities API](https://westcentralus.dev.cognitive.microsoft.com/docs/services/TextAnalytics-v2-1/operations/5ac4251d5b4ccd1554da7634) is available for selected languages.
278
+
+ JSON documents in the request body include an ID, text, and language code.
281
279
+ POST request is to a `/entities` endpoint, using a personalized [access key and an endpoint](text-analytics-how-to-access-key.md) that is valid for your subscription.
282
280
+ Response output, which consists of linked entities (including confidence scores, offsets, and web links, for each document ID) can be used in any application
0 commit comments