Launch price: every exam for $29.99 a year, for the first 300 buyers. See the price

CertStreak
Menu

Build solutions that translate text by using Azure Translator in Foundry Tools or LLM‑powered translation flows

A worked example

Complete the statement

A translation editor lets reviewers select individual sentences within a source paragraph before requesting translations. To calculate the selection boundaries, the editor needs an integer array containing the source sentence lengths. This preprocessing request must return those lengths.

Which Azure Translator operation should the editor use for preprocessing?

To obtain the data for sentence selection, call the operation.

  • Blank 1: breakSentence (correct answer)

    breakSentence returns the required sentence-length array. translate produces translated text, detect identifies the source language, and dictionary/lookup provides alternative word translations.

Why

The breakSentence operation returns sentence lengths as an integer array. The editor can use those lengths to calculate selection boundaries before requesting translations.

Practise this topic until it's automatic.

Ten questions a day, every answer explained, and misses that come back until you beat them.

Start free