AI-102 Question 192
Single answerYou are developing an application that analyzes customer feedback from multiple regions. The application must determine the language of each feedback entry to route it to the appropriate regional team for further processing. Which Azure service should you use to detect the language in the text?
- A
Azure Cognitive Services - Text Analytics API
- B
Azure Translator Service
- C
Azure Speech Service
- D
Azure Machine Learning
Show answer and explanation
Correct answer: A
Explanation
The Azure Cognitive Services - Text Analytics API provides a ready-to-use language detection feature, making it the most efficient and straightforward solution for detecting the language in text. While other services like Azure Translator Service also have language detection capabilities, they are not designed specifically for this purpose and may introduce additional overhead or complexity.
- A. Correct.
Azure Cognitive Services - Text Analytics API provides a pre-built language detection feature that can identify the language of a given text input. This is the most appropriate service for detecting language in text.
- B. Incorrect.
Azure Translator Service is designed for translation tasks and does include language detection as part of its functionality, but it is primarily used for converting text from one language to another rather than standalone language detection.
- C. Incorrect.
Azure Speech Service is used for speech-to-text and text-to-speech functionalities, as well as recognizing speaker identity, but it does not provide language detection for plain text data.
- D. Incorrect.
Azure Machine Learning is a platform for building and deploying custom machine learning models. While you could create a custom language detection model using it, this would require significant effort and is unnecessary when a pre-built service like Text Analytics API can fulfill the requirement.