You are developing a method for an application that uses the Translator API. The method will receive the content of a webpage, and then translate the content in...
Microsoft AI-102 Exam
Questions Number: 101 out of 241 Questions
41.91%
Question 101
You are developing a method for an application that uses the 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 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.
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. Reference: https://docs.microsoft.com/en-us/azure/cognitive-services/translator/reference/v3-0-translate