.. role:: raw-html-m2r(raw) :format: html Azure Text Analytics client library for Python ============================================== The Azure Cognitive Service for Language is a cloud-based service that provides Natural Language Processing (NLP) features for understanding and analyzing text, and includes the following main features: * Sentiment Analysis * Entity Recognition (Named, Linked, and Personally Identifiable Information (PII) entities) * Language Detection * Key Phrase Extraction * Multiple Analysis * Healthcare Entities Analysis * Extractive Text Summarization * Custom Named Entity Recognition * Custom Text Classification `Source code `_ | `Package (PyPI) `_ | `API reference documentation `_ | `Product documentation `_ | `Samples `_ *Disclaimer* ---------------- *Azure SDK Python packages support for Python 2.7 has ended 01 January 2022. For more information and questions, please refer to https://github.com/Azure/azure-sdk-for-python/issues/20691* Getting started --------------- Prerequisites ^^^^^^^^^^^^^ * Python 3.6 later is required to use this package. * You must have an `Azure subscription `_ and a `Cognitive Services or Language service resource `_ to use this package. Create a Cognitive Services or Language service resource ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ The Language service supports both `multi-service and single-service access `_. Create a Cognitive Services resource if you plan to access multiple cognitive services under a single endpoint/key. For Language service access only, create a Language service resource. You can create the resource using **Option 1:** `Azure Portal `_ **Option 2:** `Azure CLI `_. Below is an example of how you can create a Language service resource using the CLI: .. code-block:: bash # Create a new resource group to hold the Language service resource - # if using an existing resource group, skip this step az group create --name my-resource-group --location westus2 .. code-block:: bash # Create text analytics az cognitiveservices account create \ --name text-analytics-resource \ --resource-group my-resource-group \ --kind TextAnalytics \ --sku F0 \ --location westus2 \ --yes Interaction with the service using the client library begins with a :raw-html-m2r:`client`. To create a client object, you will need the Cognitive Services or Language service ``endpoint`` to your resource and a ``credential`` that allows you access: .. code-block:: python from azure.core.credentials import AzureKeyCredential from azure.ai.textanalytics import TextAnalyticsClient credential = AzureKeyCredential("") text_analytics_client = TextAnalyticsClient(endpoint="https://.cognitiveservices.azure.com/", credential=credential) Note that for some Cognitive Services resources the endpoint might look different from the above code snippet. For example, ``https://.api.cognitive.microsoft.com/``. Install the package ^^^^^^^^^^^^^^^^^^^ Install the Azure Text Analytics client library for Python with `pip `_\ : .. code-block:: bash pip install azure-ai-textanalytics --pre .. Note that ``5.2.0b4`` is the first version of the client library that targets the Azure Cognitive Service for Language APIs which includes the existing text analysis and natural language processing features found in the Text Analytics client library. In addition, the service API has changed from semantic to date-based versioning. This version of the client library defaults to the latest supported API version, which currently is ``2022-04-01-preview``. This table shows the relationship between SDK versions and supported API versions of the service .. list-table:: :header-rows: 1 * - SDK version - Supported API version of service * - 5.2.0b4 - Latest beta release - 3.0, 3.1, 2022-04-01-preview (default) * - 5.1.0 - Latest stable release - 3.0, 3.1 (default) * - 5.0.0 - 3.0 API version can be selected by passing the `api_version `_ keyword argument into the client. For the latest Language service features, consider selecting the most recent beta API version. For production scenarios, the latest stable version is recommended. Setting to an older version may result in reduced feature compatibility. Authenticate the client ^^^^^^^^^^^^^^^^^^^^^^^ Get the endpoint ~~~~~~~~~~~~~~~~ You can find the endpoint for your Language service resource using the `Azure Portal `_ or `Azure CLI `_\ : .. code-block:: bash # Get the endpoint for the Language service resource az cognitiveservices account show --name "resource-name" --resource-group "resource-group-name" --query "properties.endpoint" Get the API Key ~~~~~~~~~~~~~~~ You can get the `API key `_ from the Cognitive Services or Language service resource in the `Azure Portal `_. Alternatively, you can use `Azure CLI `_ snippet below to get the API key of your resource. ``az cognitiveservices account keys list --name "resource-name" --resource-group "resource-group-name"`` Create a TextAnalyticsClient with an API Key Credential ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Once you have the value for the API key, you can pass it as a string into an instance of `AzureKeyCredential `_. Use the key as the credential parameter to authenticate the client: .. code-block:: python from azure.core.credentials import AzureKeyCredential from azure.ai.textanalytics import TextAnalyticsClient credential = AzureKeyCredential("") text_analytics_client = TextAnalyticsClient(endpoint="https://.cognitiveservices.azure.com/", credential=credential) Create a TextAnalyticsClient with an Azure Active Directory Credential ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ To use an `Azure Active Directory (AAD) token credential `_\ , provide an instance of the desired credential type obtained from the `azure-identity `_ library. Note that regional endpoints do not support AAD authentication. Create a `custom subdomain `_ name for your resource in order to use this type of authentication. Authentication with AAD requires some initial setup: * `Install azure-identity `_ * `Register a new AAD application `_ * `Grant access `_ to the Language service by assigning the ``"Cognitive Services User"`` role to your service principal. After setup, you can choose which type of `credential `_ from azure.identity to use. As an example, `DefaultAzureCredential `_ can be used to authenticate the client: Set the values of the client ID, tenant ID, and client secret of the AAD application as environment variables: AZURE_CLIENT_ID, AZURE_TENANT_ID, AZURE_CLIENT_SECRET Use the returned token credential to authenticate the client: .. code-block:: python from azure.ai.textanalytics import TextAnalyticsClient from azure.identity import DefaultAzureCredential credential = DefaultAzureCredential() text_analytics_client = TextAnalyticsClient(endpoint="https://.cognitiveservices.azure.com/", credential=credential) Key concepts ------------ TextAnalyticsClient ^^^^^^^^^^^^^^^^^^^ The Text Analytics client library provides a `TextAnalyticsClient `_ to do analysis on :raw-html-m2r:`batches of documents`. It provides both synchronous and asynchronous operations to access a specific use of text analysis, such as language detection or key phrase extraction. Input ^^^^^ A **document** is a single unit to be analyzed by the predictive models in the Language service. The input for each operation is passed as a **list** of documents. Each document can be passed as a string in the list, e.g. .. code-block:: python documents = ["I hated the movie. It was so slow!", "The movie made it into my top ten favorites. What a great movie!"] or, if you wish to pass in a per-item document ``id`` or ``language``\ /\ ``country_hint``\ , they can be passed as a list of `DetectLanguageInput `_ or `TextDocumentInput `_ or a dict-like representation of the object: .. code-block:: python documents = [ {"id": "1", "language": "en", "text": "I hated the movie. It was so slow!"}, {"id": "2", "language": "en", "text": "The movie made it into my top ten favorites. What a great movie!"}, ] See `service limitations `_ for the input, including document length limits, maximum batch size, and supported text encoding. Return Value ^^^^^^^^^^^^ The return value for a single document can be a result or error object. A heterogeneous list containing a collection of result and error objects is returned from each operation. These results/errors are index-matched with the order of the provided documents. A **result**\ , such as `AnalyzeSentimentResult `_\ , is the result of a text analysis operation and contains a prediction or predictions about a document input. The **error** object, `DocumentError `_\ , indicates that the service had trouble processing the document and contains the reason it was unsuccessful. Document Error Handling ^^^^^^^^^^^^^^^^^^^^^^^ You can filter for a result or error object in the list by using the ``is_error`` attribute. For a result object this is always ``False`` and for a `DocumentError `_ this is ``True``. For example, to filter out all DocumentErrors you might use list comprehension: .. code-block:: python response = text_analytics_client.analyze_sentiment(documents) successful_responses = [doc for doc in response if not doc.is_error] Long-Running Operations ^^^^^^^^^^^^^^^^^^^^^^^ Long-running operations are operations which consist of an initial request sent to the service to start an operation, followed by polling the service at intervals to determine whether the operation has completed or failed, and if it has succeeded, to get the result. Methods that support healthcare analysis or multiple analyses are modeled as long-running operations. The client exposes a ``begin_`` method that returns a poller object. Callers should wait for the operation to complete by calling ``result()`` on the poller object returned from the ``begin_`` method. Sample code snippets are provided to illustrate using long-running operations :raw-html-m2r:`below`. Examples -------- The following section provides several code snippets covering some of the most common Language service tasks, including: * :raw-html-m2r:`Analyze Sentiment` * :raw-html-m2r:`Recognize Entities` * :raw-html-m2r:`Recognize Linked Entities` * :raw-html-m2r:`Recognize PII Entities` * :raw-html-m2r:`Extract Key Phrases` * :raw-html-m2r:`Detect Language` * :raw-html-m2r:`Healthcare Entities Analysis` * :raw-html-m2r:`Multiple Analysis` * `Extractive Summarization `_ * `Custom Entity Recognition `_ * `Custom Single Category Classification `_ * `Custom Multi Category Classification `_ 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. .. code-block:: python from azure.core.credentials import AzureKeyCredential from azure.ai.textanalytics import TextAnalyticsClient credential = AzureKeyCredential("") endpoint="https://.cognitiveservices.azure.com/" text_analytics_client = TextAnalyticsClient(endpoint, credential) documents = [ "I did not like the restaurant. The food was somehow both too spicy and underseasoned. Additionally, I thought the location was too far away from the playhouse.", "The restaurant was decorated beautifully. The atmosphere was unlike any other restaurant I've been to.", "The food was yummy. :)" ] response = text_analytics_client.analyze_sentiment(documents, language="en") result = [doc for doc in response if not doc.is_error] for doc in result: print(f"Overall sentiment: {doc.sentiment}") print( f"Scores: positive={doc.confidence_scores.positive}; " f"neutral={doc.confidence_scores.neutral}; " f"negative={doc.confidence_scores.negative}\n" ) The returned response is a heterogeneous list of result and error objects: list[\ `AnalyzeSentimentResult `_\ , `DocumentError `_\ ] Please refer to the service documentation for a conceptual discussion of `sentiment analysis `_. To see how to conduct more granular analysis into the opinions related to individual aspects (such as attributes of a product or service) in a text, see `here `_. Recognize entities ^^^^^^^^^^^^^^^^^^ `recognize_entities `_ recognizes and categories entities in its input text as people, places, organizations, date/time, quantities, percentages, currencies, and more. .. code-block:: python from azure.core.credentials import AzureKeyCredential from azure.ai.textanalytics import TextAnalyticsClient credential = AzureKeyCredential("") endpoint="https://.cognitiveservices.azure.com/" text_analytics_client = TextAnalyticsClient(endpoint, credential) documents = [ """ Microsoft was founded by Bill Gates and Paul Allen. Its headquarters are located in Redmond. Redmond is a city in King County, Washington, United States, located 15 miles east of Seattle. """, "Jeff bought three dozen eggs because there was a 50% discount." ] response = text_analytics_client.recognize_entities(documents, language="en") result = [doc for doc in response if not doc.is_error] for doc in result: for entity in doc.entities: print(f"Entity: {entity.text}") print(f"...Category: {entity.category}") print(f"...Confidence Score: {entity.confidence_score}") print(f"...Offset: {entity.offset}") The returned response is a heterogeneous list of result and error objects: list[\ `RecognizeEntitiesResult `_\ , `DocumentError `_\ ] Please refer to the service documentation for a conceptual discussion of `named entity recognition `_ and `supported types `_. Recognize linked entities ^^^^^^^^^^^^^^^^^^^^^^^^^ `recognize_linked_entities `_ recognizes and disambiguates the identity of each entity found in its input text (for example, determining whether an occurrence of the word Mars refers to the planet, or to the Roman god of war). Recognized entities are associated with URLs to a well-known knowledge base, like Wikipedia. .. code-block:: python from azure.core.credentials import AzureKeyCredential from azure.ai.textanalytics import TextAnalyticsClient credential = AzureKeyCredential("") endpoint="https://.cognitiveservices.azure.com/" text_analytics_client = TextAnalyticsClient(endpoint, credential) documents = [ "Microsoft was founded by Bill Gates and Paul Allen. Its headquarters are located in Redmond.", "Easter Island, a Chilean territory, is a remote volcanic island in Polynesia." ] response = text_analytics_client.recognize_linked_entities(documents, language="en") result = [doc for doc in response if not doc.is_error] for doc in result: for entity in doc.entities: print(f"Entity: {entity.name}") print(f"...URL: {entity.url}") print(f"...Data Source: {entity.data_source}") print("...Entity matches:") for match in entity.matches: print(f"......Entity match text: {match.text}") print(f"......Confidence Score: {match.confidence_score}") print(f"......Offset: {match.offset}") The returned response is a heterogeneous list of result and error objects: list[\ `RecognizeLinkedEntitiesResult `_\ , `DocumentError `_\ ] Please refer to the service documentation for a conceptual discussion of `entity linking `_ and `supported types `_. Recognize PII entities ^^^^^^^^^^^^^^^^^^^^^^ `recognize_pii_entities `_ recognizes and categorizes Personally Identifiable Information (PII) entities in its input text, such as Social Security Numbers, bank account information, credit card numbers, and more. .. code-block:: python from azure.core.credentials import AzureKeyCredential from azure.ai.textanalytics import TextAnalyticsClient credential = AzureKeyCredential("") endpoint="https://.cognitiveservices.azure.com/" text_analytics_client = TextAnalyticsClient(endpoint, credential) documents = [ """ We have an employee called Parker who cleans up after customers. The employee's SSN is 859-98-0987, and their phone number is 555-555-5555. """ ] response = text_analytics_client.recognize_pii_entities(documents, language="en") result = [doc for doc in response if not doc.is_error] for idx, doc in enumerate(result): print(f"Document text: {documents[idx]}") print(f"Redacted document text: {doc.redacted_text}") for entity in doc.entities: print(f"...Entity: {entity.text}") print(f"......Category: {entity.category}") print(f"......Confidence Score: {entity.confidence_score}") print(f"......Offset: {entity.offset}") The returned response is a heterogeneous list of result and error objects: list[\ `RecognizePiiEntitiesResult `_\ , `DocumentError `_\ ] Please refer to the service documentation for `supported PII entity types `_. Note: The Recognize PII Entities service is available in API version v3.1 and up. 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". .. code-block:: python from azure.core.credentials import AzureKeyCredential from azure.ai.textanalytics import TextAnalyticsClient credential = AzureKeyCredential("") endpoint="https://.cognitiveservices.azure.com/" text_analytics_client = TextAnalyticsClient(endpoint, credential) documents = [ "Redmond is a city in King County, Washington, United States, located 15 miles east of Seattle.", """ I need to take my cat to the veterinarian. He has been sick recently, and I need to take him before I travel to South America for the summer. """, ] response = text_analytics_client.extract_key_phrases(documents, language="en") result = [doc for doc in response if not doc.is_error] for doc in result: print(doc.key_phrases) The returned response is a heterogeneous list of result and error objects: list[\ `ExtractKeyPhrasesResult `_\ , `DocumentError `_\ ] Please refer to the service documentation for a conceptual discussion of `key phrase extraction `_. Detect language ^^^^^^^^^^^^^^^ `detect_language `_ determines the language of its input text, including the confidence score of the predicted language. .. code-block:: python from azure.core.credentials import AzureKeyCredential from azure.ai.textanalytics import TextAnalyticsClient credential = AzureKeyCredential("") endpoint="https://.cognitiveservices.azure.com/" text_analytics_client = TextAnalyticsClient(endpoint, credential) documents = [ """ This whole document is written in English. In order for the whole document to be written in English, every sentence also has to be written in English, which it is. """, "Il documento scritto in italiano.", "Dies ist in deutsche Sprache verfasst." ] response = text_analytics_client.detect_language(documents) result = [doc for doc in response if not doc.is_error] for doc in result: print(f"Language detected: {doc.primary_language.name}") print(f"ISO6391 name: {doc.primary_language.iso6391_name}") print(f"Confidence score: {doc.primary_language.confidence_score}\n") The returned response is a heterogeneous list of result and error objects: list[\ `DetectLanguageResult `_\ , `DocumentError `_\ ] Please refer to the service documentation for a conceptual discussion of `language detection `_ and `language and regional support `_. Healthcare Entities Analysis ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `Long-running operation <#long-running-operations>`_ `begin_analyze_healthcare_entities `_ extracts entities recognized within the healthcare domain, and identifies relationships between entities within the input document and links to known sources of information in various well known databases, such as UMLS, CHV, MSH, etc. .. code-block:: python from azure.core.credentials import AzureKeyCredential from azure.ai.textanalytics import TextAnalyticsClient credential = AzureKeyCredential("") endpoint="https://.cognitiveservices.azure.com/" text_analytics_client = TextAnalyticsClient(endpoint, credential) documents = ["Subject is taking 100mg of ibuprofen twice daily"] poller = text_analytics_client.begin_analyze_healthcare_entities(documents) result = poller.result() docs = [doc for doc in result if not doc.is_error] print("Results of Healthcare Entities Analysis:") for idx, doc in enumerate(docs): for entity in doc.entities: print(f"Entity: {entity.text}") print(f"...Normalized Text: {entity.normalized_text}") print(f"...Category: {entity.category}") print(f"...Subcategory: {entity.subcategory}") print(f"...Offset: {entity.offset}") print(f"...Confidence score: {entity.confidence_score}") if entity.data_sources is not None: print("...Data Sources:") for data_source in entity.data_sources: print(f"......Entity ID: {data_source.entity_id}") print(f"......Name: {data_source.name}") if entity.assertion is not None: print("...Assertion:") print(f"......Conditionality: {entity.assertion.conditionality}") print(f"......Certainty: {entity.assertion.certainty}") print(f"......Association: {entity.assertion.association}") for relation in doc.entity_relations: print(f"Relation of type: {relation.relation_type} has the following roles") for role in relation.roles: print(f"...Role '{role.name}' with entity '{role.entity.text}'") print("------------------------------------------") Note: The Healthcare Entities Analysis service is only available in the Standard pricing tier with API versions v3.1 and up. Multiple Analysis ^^^^^^^^^^^^^^^^^ `Long-running operation <#long-running-operations>`_ `begin_analyze_actions `_ performs multiple analyses over one set of documents in a single request. Currently it is supported using any combination of the following Language APIs in a single request: * Entities Recognition * PII Entities Recognition * Linked Entity Recognition * Key Phrase Extraction * Sentiment Analysis * Extractive Summarization (see sample `here `_\ ) * Custom Entity Recognition (see sample `here `_\ ) * Custom Single Category Classification (see sample `here `_\ ) * Custom Multi Category Classification (see sample `here `_\ ) * Healthcare Entities Analysis .. code-block:: python from azure.core.credentials import AzureKeyCredential from azure.ai.textanalytics import ( TextAnalyticsClient, RecognizeEntitiesAction, AnalyzeSentimentAction, ) credential = AzureKeyCredential("") endpoint="https://.cognitiveservices.azure.com/" text_analytics_client = TextAnalyticsClient(endpoint, credential) documents = ["Microsoft was founded by Bill Gates and Paul Allen."] poller = text_analytics_client.begin_analyze_actions( documents, display_name="Sample Text Analysis", actions=[ RecognizeEntitiesAction(), AnalyzeSentimentAction() ] ) # returns multiple actions results in the same order as the inputted actions document_results = poller.result() for doc, action_results in zip(documents, document_results): recognize_entities_result, analyze_sentiment_result = action_results print(f"\nDocument text: {doc}") print("...Results of Recognize Entities Action:") if recognize_entities_result.is_error: print(f"......Is an error with code '{recognize_entities_result.code}' " f"and message '{recognize_entities_result.message}'") else: for entity in recognize_entities_result.entities: print(f"......Entity: {entity.text}") print(f".........Category: {entity.category}") print(f".........Confidence Score: {entity.confidence_score}") print(f".........Offset: {entity.offset}") print("...Results of Analyze Sentiment action:") if analyze_sentiment_result.is_error: print(f"......Is an error with code '{analyze_sentiment_result.code}' " f"and message '{analyze_sentiment_result.message}'") else: print(f"......Overall sentiment: {analyze_sentiment_result.sentiment}") print(f"......Scores: positive={analyze_sentiment_result.confidence_scores.positive}; " f"neutral={analyze_sentiment_result.confidence_scores.neutral}; " f"negative={analyze_sentiment_result.confidence_scores.negative}\n") print("------------------------------------------") The returned response is an object encapsulating multiple iterables, each representing results of individual analyses. Note: Multiple analysis is available in API version v3.1 and up. Optional Configuration ---------------------- Optional keyword arguments can be passed in at the client and per-operation level. The azure-core `reference documentation `_ describes available configurations for retries, logging, transport protocols, and more. Troubleshooting --------------- General ^^^^^^^ The Text Analytics client will raise exceptions defined in `Azure Core `_. Logging ^^^^^^^ This library uses the standard `logging `_ library for logging. Basic information about HTTP sessions (URLs, headers, etc.) is logged at INFO level. Detailed DEBUG level logging, including request/response bodies and unredacted headers, can be enabled on a client with the ``logging_enable`` keyword argument: .. code-block:: python import sys import logging from azure.identity import DefaultAzureCredential from azure.ai.textanalytics import TextAnalyticsClient # Create a logger for the 'azure' SDK logger = logging.getLogger('azure') logger.setLevel(logging.DEBUG) # Configure a console output handler = logging.StreamHandler(stream=sys.stdout) logger.addHandler(handler) endpoint = "https://.cognitiveservices.azure.com/" credential = DefaultAzureCredential() # This client will log detailed information about its HTTP sessions, at DEBUG level text_analytics_client = TextAnalyticsClient(endpoint, credential, logging_enable=True) result = text_analytics_client.analyze_sentiment(["I did not like the restaurant. The food was too spicy."]) Similarly, ``logging_enable`` can enable detailed logging for a single operation, even when it isn't enabled for the client: .. code-block:: python result = text_analytics_client.analyze_sentiment(documents, logging_enable=True) Next steps ---------- More sample code ^^^^^^^^^^^^^^^^ These code samples show common scenario operations with the Azure Text Analytics client library. Authenticate the client with a Cognitive Services/Language service API key or a token credential from `azure-identity `_\ : * `sample_authentication.py `_ (\ `async version `_\ ) Common scenarios * Analyze sentiment: `sample_analyze_sentiment.py `_ (\ `async version `_\ ) * Recognize entities: `sample_recognize_entities.py `_ (\ `async version `_\ ) * Recognize personally identifiable information: `sample_recognize_pii_entities.py `_ (\ `async version `_\ ) * Recognize linked entities: `sample_recognize_linked_entities.py `_ (\ `async version `_\ ) * Extract key phrases: `sample_extract_key_phrases.py `_ (\ `async version `_\ ) * Detect language: `sample_detect_language.py `_ (\ `async version `_\ ) * Healthcare Entities Analysis: `sample_analyze_healthcare_entities.py `_ (\ `async version `_\ ) * Multiple Analysis: `sample_analyze_actions.py `_ (\ `async version `_\ ) * Extractive text summarization: `sample_extract_summary.py `_ (\ `async version `_\ ) * Custom Entity Recognition: `sample_recognize_custom_entities.py `_ (\ `async_version `_\ ) * Custom Single Classification: `sample_single_category_classify.py `_ (\ `async_version `_\ ) * Custom Multi Classification: `sample_multi_category_classify.py `_ (\ `async_version `_\ ) Advanced scenarios * Opinion Mining: `sample_analyze_sentiment_with_opinion_mining.py `_ (\ `async_version `_\ ) Additional documentation ^^^^^^^^^^^^^^^^^^^^^^^^ For more extensive documentation on Azure Cognitive Service for Language, see the `Language Service documentation `_ on docs.microsoft.com. Contributing ------------ This project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit `cla.microsoft.com `_. When you submit a pull request, a CLA-bot will automatically determine whether you need to provide a CLA and decorate the PR appropriately (e.g., label, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repos using our CLA. This project has adopted the `Microsoft Open Source Code of Conduct `_. For more information see the `Code of Conduct FAQ `_ or contact `opencode@microsoft.com `_ with any additional questions or comments. .. raw:: html Indices and tables ------------------ * :ref:`genindex` * :ref:`modindex` * :ref:`search` .. toctree:: :maxdepth: 5 :glob: :caption: Developer Documentation azure.ai.textanalytics.rst