AI-102 · Question #31
AI-102 Question #31: Real Exam Question with Answer & Explanation
The correct answer is C: textType=html. C: textType is an optional parameter. It defines whether the text being translated is plain text or HTML text (used for web pages). D: to is a required parameter. It specifies the language of the output text. The target language must be one of the supported languages included in
Question
You are developing a method for an application that uses the Azure AI Translator API. The method will receive the content of a webpage, and then translate the content into Greek (el). The result will also contain a transliteration that uses the Roman alphabet. You need to create the URI for the call to the Azure AI Translator API. You have the following URI. https://api.cognitive.microsofttranslator.com/translate?api-version=3.0 Which three additional query parameters should you include in the URI? Each correct answer presents part of the solution. (Choose three.) NOTE: Each correct selection is worth one point.
Options
- AtoScript=Cyrl
- Bfrom=el
- CtextType=html
- Dto=el
- EtextType=plain
- FtoScript=Latn
Explanation
C: textType is an optional parameter. It defines whether the text being translated is plain text or HTML text (used for web pages). D: to is a required parameter. It specifies the language of the output text. The target language must be one of the supported languages included in the translation scope. F: toScript is an optional parameter. It specifies the script of the translated text. We use Latin (Roman alphabet) script. https://docs.microsoft.com/en-us/azure/cognitive-services/translator/reference/v3-0-translate
Topics
Community Discussion
No community discussion yet for this question.