Text Analytics RecognizeEntities Method Output
You are developing a text processing solution. You have the following function. You call the function and use the following string as the second argument. Our tour of London included a visit to Buckingham Palace What will the function return? - 
Community Votes
100% of anonymous learners picked answer A. Votes are pick records left by other test-takers — they are not the verified answer.
Community Insight
The RecognizeEntities method extracts named entities such as specific locations, ignoring common nouns and verbs like 'tour' or 'visit'.
This page explains how the Azure Text Analytics RecognizeEntities method processes a specific string to extract named entities. It establishes that only proper nouns like locations are returned, excluding common nouns and verbs.
Choosing C or B because common nouns like 'Tour' or verbs like 'visit' are mistakenly thought to be named entities.
Community Discussion (3 comments)
Comments & Corrections
No comments yet — spotted an error or have a note? Share it below.
Expert Analysis
Why the Answer Is Correct
TheRecognizeEntities method in the Azure Text Analytics SDK is specifically designed to identify named entities in text, such as people, locations, and organizations. In the string "Our tour of London included a visit to Buckingham Palace", "London" and "Buckingham Palace" are clearly identifiable named entities representing locations. Therefore, Option A is the correct output of the function.Why the Other Options Are Wrong
Options B and C are incorrect because words like "Tour" and "visit" are common nouns and verbs, not named entities, so they are ignored by theRecognizeEntities method. Option D is incorrect because the method does not return a modified version of the original string; it only returns a list of the specific entities it identified.Community Comment Notes
The community correctly points out thatRecognizeEntities identifies proper nouns like places, as one user noted that "London and Buckingham Palace are recognized as proper nouns". Another commenter rightly dismissed "tour" and "visit" as they "are not named entities". While one user mentioned the output might vary, for standard Azure Text Analytics configurations, these two locations are consistently recognized as the primary entities. Official Reference
Exam Strategy
When asked about the output of Azure Text Analytics methods, identify the specific method being called. RecognizeEntities extracts proper nouns (locations, people, organizations), not common nouns or verbs.