Skip to content

Commit 4ba93c4

Browse files
authored
updates word time offsets region tag (GoogleCloudPlatform#1191)
1 parent 852ff05 commit 4ba93c4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

speech/cloud-client/src/main/java/com/example/speech/Recognize.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -301,7 +301,7 @@ public static void asyncRecognizeFile(String fileName) throws Exception {
301301
}
302302
// [END speech_transcribe_async]
303303

304-
// [START speech_transcribe_async_time_offsets_gcs]
304+
// [START speech_transcribe_async_word_time_offsets_gcs]
305305
/**
306306
* Performs non-blocking speech recognition on remote FLAC file and prints the transcription as
307307
* well as word time offsets.
@@ -349,7 +349,7 @@ public static void asyncRecognizeWords(String gcsUri) throws Exception {
349349
}
350350
}
351351
}
352-
// [END speech_transcribe_async_time_offsets_gcs]
352+
// [END speech_transcribe_async_word_time_offsets_gcs]
353353

354354
// [START speech_transcribe_async_gcs]
355355
/**

0 commit comments

Comments
 (0)