We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 62f8cc6 commit 0568d25Copy full SHA for 0568d25
articles/cognitive-services/Speech-Service/includes/how-to/speech-synthesis/java.md
@@ -220,6 +220,9 @@ public class SpeechSynthesis {
220
public static void main(String[] args) throws InterruptedException, ExecutionException {
221
222
SpeechConfig speechConfig = SpeechConfig.fromSubscription(speechKey, speechRegion);
223
+
224
+ // Required for WordBoundary event sentences.
225
+ speechConfig.setProperty(PropertyId.SpeechServiceResponse_RequestSentenceBoundary, "true");
226
227
String speechSynthesisVoiceName = "en-US-JennyNeural";
228
0 commit comments