Skip to content

Commit a4090f8

Browse files
iscai-msftroot
authored and
root
committed
added links to the endpoints in the readme samples (#10280)
1 parent fb5df37 commit a4090f8

File tree

1 file changed

+13
-6
lines changed
  • sdk/textanalytics/azure-ai-textanalytics

1 file changed

+13
-6
lines changed

sdk/textanalytics/azure-ai-textanalytics/README.md

+13-6
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ The following section provides several code snippets covering some of the most c
189189
* [Detect Language](#detect-language "Detect language")
190190

191191
### Analyze sentiment
192-
Analyze sentiment of text to determine if it's positive, negative, neutral or mixed, including per-sentence sentiment analysis and confidence scores.
192+
[analyze_sentiment][analyze_sentiment] looks at its input text and determines whether its sentiment is positive, negative, neutral or mixed. It's response includes per-sentence sentiment analysis and confidence scores.
193193

194194
```python
195195
from azure.ai.textanalytics import TextAnalyticsClient, TextAnalyticsApiKeyCredential
@@ -219,7 +219,7 @@ The returned response is a heterogeneous list of result and error objects: list[
219219
Please refer to the service documentation for a conceptual discussion of [sentiment analysis][sentiment_analysis].
220220

221221
### Recognize entities
222-
Recognize and categorize entities in text as people, places, organizations, date/time, quantities, percentages, currencies, and more.
222+
[recognize_entities][recognize_entities] recognizes and categories entities in its input text as people, places, organizations, date/time, quantities, percentages, currencies, and more.
223223

224224
```python
225225
from azure.ai.textanalytics import TextAnalyticsClient, TextAnalyticsApiKeyCredential
@@ -247,7 +247,7 @@ Please refer to the service documentation for a conceptual discussion of [named
247247
and [supported types][named_entity_categories].
248248

249249
### Recognize PII entities
250-
Recognize and categorize Personally Identifiable Information (PII) entities in text, such as
250+
[recognize_pii_entities][recognize_pii_entities] recognizes and categorizes Personally Identifiable Information (PII) entities in its input text, such as
251251
Social Security Numbers, bank account information, credit card numbers, and more.
252252

253253
```python
@@ -274,7 +274,7 @@ The returned response is a heterogeneous list of result and error objects: list[
274274
Please refer to the service documentation for [supported PII entity types][pii_entity_categories].
275275

276276
### Recognize linked entities
277-
Recognize and disambiguate the identity of each entity found in text (for example,
277+
[recognize_linked_entities][recognize_linked_entities] recognizes and disambiguates the identity of each entity found in its input text (for example,
278278
determining whether an occurrence of the word Mars refers to the planet, or to the
279279
Roman god of war). Recognized entities are associated with URLs to a well-known knowledge base, like Wikipedia.
280280

@@ -307,7 +307,7 @@ Please refer to the service documentation for a conceptual discussion of [entity
307307
and [supported types][linked_entities_categories].
308308

309309
### Extract key phrases
310-
Extract key phrases in text to determine the main talking points. For example, for the input text "The food was delicious and there were wonderful staff", the API returns: "food" and "wonderful staff".
310+
[extract_key_phrases][extract_key_phrases] determines the main talking points in its input text. For example, for the input text "The food was delicious and there were wonderful staff", the API returns: "food" and "wonderful staff".
311311

312312
```python
313313
from azure.ai.textanalytics import TextAnalyticsClient, TextAnalyticsApiKeyCredential
@@ -332,7 +332,7 @@ The returned response is a heterogeneous list of result and error objects: list[
332332
Please refer to the service documentation for a conceptual discussion of [key phrase extraction][key_phrase_extraction].
333333

334334
### Detect language
335-
Determine the language in text, including the confidence score of the predicted language.
335+
[detect_language][detect_language] determines the language of its input text, including the confidence score of the predicted language.
336336

337337
```python
338338
from azure.ai.textanalytics import TextAnalyticsClient, TextAnalyticsApiKeyCredential
@@ -473,6 +473,13 @@ This project has adopted the [Microsoft Open Source Code of Conduct][code_of_con
473473
[detect_language_input]: https://aka.ms/azsdk-python-textanalytics-detectlanguageinput
474474
[text_analytics_client]: https://aka.ms/azsdk-python-textanalytics-textanalyticsclient
475475

476+
[analyze_sentiment]: https://aka.ms/azsdk-python-textanalytics-analyzesentiment
477+
[recognize_entities]: https://aka.ms/azsdk-python-textanalytics-recognizeentities
478+
[recognize_pii_entities]: https://aka.ms/azsdk-python-textanalytics-recognizepiientities
479+
[recognize_linked_entities]: https://aka.ms/azsdk-python-textanalytics-recognizelinkedentities
480+
[extract_key_phrases]: https://aka.ms/azsdk-python-textanalytics-extractkeyphrases
481+
[detect_language]: https://aka.ms/azsdk-python-textanalytics-detectlanguage
482+
476483
[language_detection]: https://docs.microsoft.com/azure/cognitive-services/Text-Analytics/how-tos/text-analytics-how-to-language-detection
477484
[language_and_regional_support]: https://docs.microsoft.com/azure/cognitive-services/text-analytics/language-support
478485
[sentiment_analysis]: https://docs.microsoft.com/azure/cognitive-services/text-analytics/how-tos/text-analytics-how-to-sentiment-analysis

0 commit comments

Comments
 (0)