AI-102 · Question #357
You have the following Python function. You call the function by using the following code. my_function(text_analytics_client, "the quick brown fox jumps over the lazy dog") Following 'Key phrases'…
The correct answer is C. quick brown fox. The Python function utilizes Azure AI Language to extract key phrases from the input sentence "the quick brown fox jumps over the lazy dog" and prints them, with the expectation that "quick brown fox" will be identified as the most significant phrase.
Question
Exhibit
Options
- AThe quick -
- Bjumps over the
- Cquick brown fox
- Dthe quick brown fox jumps over the lazy dog
How the community answered
(38 responses)- A3% (1)
- B13% (5)
- C76% (29)
- D8% (3)
Why each option
The Python function utilizes Azure AI Language to extract key phrases from the input sentence "the quick brown fox jumps over the lazy dog" and prints them, with the expectation that "quick brown fox" will be identified as the most significant phrase.
"The quick" is an incomplete phrase and does not represent a full key concept or entity.
"jumps over the" is a verb phrase, and key phrase extraction typically focuses on noun phrases or significant entities, not actions or prepositions.
In the sentence "the quick brown fox jumps over the lazy dog", "quick brown fox" is the most prominent and descriptive noun phrase, representing the main subject or entity that the key phrase extraction service would typically identify as a key concept.
This choice represents a large part or the entire sentence, which is not what key phrase extraction aims to do; it identifies specific, concise, and important phrases.
Concept tested: Azure AI Language Key Phrase Extraction
Source: https://learn.microsoft.com/en-us/azure/ai-services/language-service/key-phrase-extraction/overview
Topics
Community Discussion
No community discussion yet for this question.
