diff --git a/speech/cloud-client/src/main/java/com/example/speech/Recognize.java b/speech/cloud-client/src/main/java/com/example/speech/Recognize.java index a6480b50f92..55f7a63f2ef 100644 --- a/speech/cloud-client/src/main/java/com/example/speech/Recognize.java +++ b/speech/cloud-client/src/main/java/com/example/speech/Recognize.java @@ -71,7 +71,6 @@ public static void main(String... args) throws Exception { } } else if (command.equals("streamrecognize")) { streamingRecognizeFile(path); - //streamingRecognizeEasy(path); } } @@ -146,7 +145,7 @@ public static void syncRecognizeGcs(String gcsUri) throws Exception, IOException /* /** * Performs non-blocking speech recognition on raw PCM audio and prints - * the transcription. + * the transcription. Note that transcription is limited to 60 seconds audio. * * @param fileName the path to a PCM audio file to transcribe. */