Azure Text Analytics API - Named Entity Recognition | Microsoft AI-102 Exam Solution

Named Entity Recognition with Text Analytics API | Microsoft AI-102 Exam Solution

Question

In your application, you facilitate the identification of different entities in a given text.

Using Text Analytics API in Azure, you categorize these entities into predefined classes.Review the endpoint given below and choose the one that is used for Named Entity Recognition.

Answers

Explanations

Click on the arrows to vote for the correct answer

A. B. C. D.

Correct Answer: A.

Option A is correct because named entity recognition uses general entities to categorize them into classes such as person, organization and product.

The JSON response that you will receive will provide you with values such as the text, category, length, offset and confidence score.

Option B is incorrect because endpoint text/analytics/v3.1/entities/recognition/pii is used for personally identifiable information such as the email address and phone number.

Option C is incorrect because endpointtext/analytics/v3.1/entities/recognition/pii?domain=phi is used to detect the health information.

Option D is incorrect because endpoint text/analytics/v3.1/entities/linking is used for entity linking.

In the response you get the datasource and the url for the matches.

Reference:

To learn more about Names Entity Recognition in Text Analytics, use the link given below:

The correct endpoint for Named Entity Recognition using Text Analytics API in Azure is option A: https://uksouth.cognitiveservices.azure.com/text/analytics/v3.1/entities/recognition/general.

Named Entity Recognition (NER) is a natural language processing technique used to identify and categorize specific named entities in text. These entities could be anything from people, organizations, locations, products, to dates, times, and more.

Text Analytics API is a cloud-based service provided by Microsoft Azure that allows developers to perform various natural language processing tasks, including Named Entity Recognition. The API analyzes text and returns information about entities found in the text, including their type and subtype.

In the endpoint options provided, option A specifies "general" as the recognition type, which means it is used for general Named Entity Recognition. Option B specifies "pii" (personally identifiable information) as the recognition type, which means it is used for identifying sensitive information such as social security numbers, credit card numbers, etc. Option C is similar to option B, but it specifies "phi" (protected health information) as the domain, indicating that it is used for identifying sensitive health-related information. Option D specifies "linking" as the recognition type, which is used for linking entities that refer to the same entity.

Therefore, option A is the correct endpoint for Named Entity Recognition, as it is used for general entity recognition and doesn't target specific types of entities like options B and C or link entities like option D.