Exam4Training

https://api.cognitive.microsofttranslator.com/translate?

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. NOTE: Each correct selection is worth one point. (Choose three.)
A . toScript=Cyrl
B . from=el
C . textType=html
D . to=el
E . textType=plain
F . toScript=Latn

Answer: A, D, F

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.

Reference: https://docs.microsoft.com/en-us/azure/cognitive-services/translator/reference/v3-0-translate

Latest AI-102 Dumps Valid Version with 80 Q&As

Latest And Valid Q&A | Instant Download | Once Fail, Full Refund

Exit mobile version