diff --git a/sdk/textanalytics/ai-text-analytics/README.md b/sdk/textanalytics/ai-text-analytics/README.md index e9a2e5193fa5..e0b324a0d0b1 100644 --- a/sdk/textanalytics/ai-text-analytics/README.md +++ b/sdk/textanalytics/ai-text-analytics/README.md @@ -371,11 +371,11 @@ If you'd like to contribute to this library, please read the [contributing guide [azure_cli]: https://docs.microsoft.com/cli/azure [azure_sub]: https://azure.microsoft.com/free/ -[cognitive_resource]: https://docs.microsoft.com/en-us/azure/cognitive-services/cognitive-services-apis-create-account +[cognitive_resource]: https://docs.microsoft.com/azure/cognitive-services/cognitive-services-apis-create-account [azure_portal]: https://portal.azure.com [azure_identity]: https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/identity/identity [cognitive_auth]: https://docs.microsoft.com/azure/cognitive-services/authentication [register_aad_app]: https://docs.microsoft.com/azure/cognitive-services/authentication#assign-a-role-to-a-service-principal [defaultazurecredential]: https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/identity/identity#defaultazurecredential [data_limits]: https://docs.microsoft.com/azure/cognitive-services/text-analytics/overview#data-limits -``` + diff --git a/sdk/textanalytics/ai-text-analytics/src/generated/models/index.ts b/sdk/textanalytics/ai-text-analytics/src/generated/models/index.ts index 962ff3d0b4eb..8adc7320de99 100644 --- a/sdk/textanalytics/ai-text-analytics/src/generated/models/index.ts +++ b/sdk/textanalytics/ai-text-analytics/src/generated/models/index.ts @@ -151,7 +151,7 @@ export interface SentimentConfidenceScores { /** * The predicted sentiment for a given span of text. For more information regarding text sentiment, * see - * https://docs.microsoft.com/en-us/azure/cognitive-services/Text-Analytics/how-tos/text-analytics-how-to-sentiment-analysis. + * https://docs.microsoft.com/azure/cognitive-services/Text-Analytics/how-tos/text-analytics-how-to-sentiment-analysis. */ export interface SentenceSentiment { /** @@ -244,7 +244,7 @@ export interface SentimentResponse { /** * A word or phrase identified as an entity that is categorized within a taxonomy of types. The set * of categories recognized by the Text Analytics service is described at - * https://docs.microsoft.com/en-us/azure/cognitive-services/Text-Analytics/named-entity-types . + * https://docs.microsoft.com/azure/cognitive-services/Text-Analytics/named-entity-types . */ export interface Entity { /** diff --git a/sdk/textanalytics/ai-text-analytics/src/textAnalyticsClient.ts b/sdk/textanalytics/ai-text-analytics/src/textAnalyticsClient.ts index a92525bfbb76..e609fd5fedd1 100644 --- a/sdk/textanalytics/ai-text-analytics/src/textAnalyticsClient.ts +++ b/sdk/textanalytics/ai-text-analytics/src/textAnalyticsClient.ts @@ -65,7 +65,7 @@ export interface TextAnalyticsOperationOptions extends OperationOptions { * This value indicates which model will be used for scoring. If a model-version is * not specified, the API should default to the latest, non-preview version. * For supported model versions, see operation-specific documentation, for example: - * https://docs.microsoft.com/en-us/azure/cognitive-services/text-analytics/how-tos/text-analytics-how-to-sentiment-analysis#model-versioning + * https://docs.microsoft.com/azure/cognitive-services/text-analytics/how-tos/text-analytics-how-to-sentiment-analysis#model-versioning */ modelVersion?: string; /** @@ -286,9 +286,9 @@ export class TextAnalyticsClient { * in the passed-in input strings, and categorize those entities into types * such as person, location, or organization. For more information on * available categories, see - * https://docs.microsoft.com/en-us/azure/cognitive-services/Text-Analytics/named-entity-types. + * https://docs.microsoft.com/azure/cognitive-services/Text-Analytics/named-entity-types. * For a list of languages supported by this operation, see - * https://docs.microsoft.com/en-us/azure/cognitive-services/text-analytics/language-support. + * https://docs.microsoft.com/azure/cognitive-services/text-analytics/language-support. * @param documents The input strings to analyze. * @param language The language that all the input strings are written in. If unspecified, this value will be set to the default @@ -308,9 +308,9 @@ export class TextAnalyticsClient { * in the passed-in input documents, and categorize those entities into types * such as person, location, or organization. For more information on * available categories, see - * https://docs.microsoft.com/en-us/azure/cognitive-services/Text-Analytics/named-entity-types. + * https://docs.microsoft.com/azure/cognitive-services/Text-Analytics/named-entity-types. * For a list of languages supported by this operation, see - * https://docs.microsoft.com/en-us/azure/cognitive-services/text-analytics/language-support. + * https://docs.microsoft.com/azure/cognitive-services/text-analytics/language-support. * @param documents The input documents to analyze. * @param options Optional parameters for the operation. */ @@ -377,7 +377,7 @@ export class TextAnalyticsClient { * sentiment contained in the input strings, as well as scores indicating * the model's confidence in each of the predicted sentiments. * For a list of languages supported by this operation, see - * https://docs.microsoft.com/en-us/azure/cognitive-services/text-analytics/language-support. + * https://docs.microsoft.com/azure/cognitive-services/text-analytics/language-support. * @param documents The input strings to analyze. * @param language The language that all the input strings are written in. If unspecified, this value will be set to the default @@ -396,7 +396,7 @@ export class TextAnalyticsClient { * sentiment contained in the input documents, as well as scores indicating * the model's confidence in each of the predicted sentiments. * For a list of languages supported by this operation, see - * https://docs.microsoft.com/en-us/azure/cognitive-services/text-analytics/language-support. + * https://docs.microsoft.com/azure/cognitive-services/text-analytics/language-support. * @param documents The input documents to analyze. * @param options Optional parameters for the operation. */ @@ -460,7 +460,7 @@ export class TextAnalyticsClient { * Runs a model to identify a collection of significant phrases * found in the passed-in input strings. * For a list of languages supported by this operation, see - * https://docs.microsoft.com/en-us/azure/cognitive-services/text-analytics/language-support. + * https://docs.microsoft.com/azure/cognitive-services/text-analytics/language-support. * @param documents The input strings to analyze. * @param language The language that all the input strings are written in. If unspecified, this value will be set to the default @@ -478,7 +478,7 @@ export class TextAnalyticsClient { * Runs a model to identify a collection of significant phrases * found in the passed-in input documents. * For a list of languages supported by this operation, see - * https://docs.microsoft.com/en-us/azure/cognitive-services/text-analytics/language-support. + * https://docs.microsoft.com/azure/cognitive-services/text-analytics/language-support. * @param documents The input documents to analyze. * @param options Optional parameters for the operation. */ @@ -543,7 +543,7 @@ export class TextAnalyticsClient { * found in the passed-in input strings, and include information linking the * entities to their corresponding entries in a well-known knowledge base. * For a list of languages supported by this operation, see - * https://docs.microsoft.com/en-us/azure/cognitive-services/text-analytics/language-support. + * https://docs.microsoft.com/azure/cognitive-services/text-analytics/language-support. * @param documents The input strings to analyze. * @param language The language that all the input strings are written in. If unspecified, this value will be set to the default @@ -562,7 +562,7 @@ export class TextAnalyticsClient { * found in the passed-in input documents, and include information linking the * entities to their corresponding entries in a well-known knowledge base. * For a list of languages supported by this operation, see - * https://docs.microsoft.com/en-us/azure/cognitive-services/text-analytics/language-support. + * https://docs.microsoft.com/azure/cognitive-services/text-analytics/language-support. * @param documents The input documents to analyze. * @param options Optional parameters for the operation. */ diff --git a/sdk/textanalytics/ai-text-analytics/swagger/README.md b/sdk/textanalytics/ai-text-analytics/swagger/README.md index e386c6129bfa..82bca2e0d5e7 100644 --- a/sdk/textanalytics/ai-text-analytics/swagger/README.md +++ b/sdk/textanalytics/ai-text-analytics/swagger/README.md @@ -270,13 +270,13 @@ directive: transform: $.description = "Represents a warning encountered while processing a document." - from: swagger-document where: $.definitions.SentenceSentiment - transform: $.description = "The predicted sentiment for a given span of text. For more information regarding text sentiment, see https://docs.microsoft.com/en-us/azure/cognitive-services/Text-Analytics/how-tos/text-analytics-how-to-sentiment-analysis." + transform: $.description = "The predicted sentiment for a given span of text. For more information regarding text sentiment, see https://docs.microsoft.com/azure/cognitive-services/Text-Analytics/how-tos/text-analytics-how-to-sentiment-analysis." - from: swagger-document where: $.definitions.Match transform: $.description = "Details about the specific substring in a document that refers to a linked entity identified by the Text Analytics model." - from: swagger-document where: $.definitions.Entity - transform: $.description = "A word or phrase identified as an entity that is categorized within a taxonomy of types. The set of categories recognized by the Text Analytics service is described at https://docs.microsoft.com/en-us/azure/cognitive-services/Text-Analytics/named-entity-types ." + transform: $.description = "A word or phrase identified as an entity that is categorized within a taxonomy of types. The set of categories recognized by the Text Analytics service is described at https://docs.microsoft.com/azure/cognitive-services/Text-Analytics/named-entity-types ." - from: swagger-document where: $.definitions.LinkedEntity transform: $.description = "A word or phrase identified as a well-known entity within a database, including its formal (disambiguated) name and a link to the entity information within the source database." diff --git a/sdk/textanalytics/ai-text-analytics/test/README.md b/sdk/textanalytics/ai-text-analytics/test/README.md index 2f0a7d51c3cd..1c363132a072 100644 --- a/sdk/textanalytics/ai-text-analytics/test/README.md +++ b/sdk/textanalytics/ai-text-analytics/test/README.md @@ -6,7 +6,7 @@ You can use existing Azure resources for the live tests, or generate new ones by The Azure resource that is used by the tests in this project is: -- An [Azure Cognitive Services](https://azure.microsoft.com/en-us/services/cognitive-services/) account of the Text Analytics type. +- An [Azure Cognitive Services](https://azure.microsoft.com/services/cognitive-services/) account of the Text Analytics type. To run the live tests, you will also need to set the below environment variables: @@ -23,7 +23,7 @@ In order to use Azure Active Directory to run the live tests, you will need to c ### Using an App Registration (Service Principal) -- Follow [Documentation to register a new application](https://docs.microsoft.com/en-us/azure/active-directory/develop/quickstart-register-app) in the Azure Active Directory (in the Azure portal). +- Follow [Documentation to register a new application](https://docs.microsoft.com/azure/active-directory/develop/quickstart-register-app) in the Azure Active Directory (in the Azure portal). - Note the Client ID and Tenant ID. - In the "Certificates & Secrets" tab, create a secret and note that down. - Ensure the following environment variables are set: