Skip to content

Commit e7f1eb8

Browse files
committed
Add region tags for streaming sample
1 parent 52c515a commit e7f1eb8

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

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

+2
Original file line numberDiff line numberDiff line change
@@ -590,6 +590,7 @@ public static void transcribeGcsWithAutomaticPunctuation(String gcsUri) throws E
590590
}
591591
// [END speech_async_recognize_gcs_punctuation]
592592

593+
// [START speech_stream_recognize_punctuation]
593594
/**
594595
* Performs streaming speech recognition on raw PCM audio data.
595596
*
@@ -676,4 +677,5 @@ public SettableFuture<List<T>> future() {
676677
}
677678
}
678679
}
680+
// [END speech_stream_recognize_punctuation]
679681
}

0 commit comments

Comments
 (0)