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.
The breakSentence operation returns sentence lengths as an integer array. The editor can use those lengths to calculate selection boundaries before requesting translations.
- Text translation REST API reference guide - Foundry ToolsMicrosoft Learn