Skip to content
Permalink
Browse files
docs: fix sample link (#24)
  • Loading branch information
athakor authored and chingor13 committed Oct 18, 2019
1 parent 63479e8 commit acf24a421ecf71650949682906dd07edf37b622a
Showing with 1 addition and 1 deletion.
  1. +1 −1 README.md
@@ -84,7 +84,7 @@ Then add the following code to do the speech recognization:

#### Complete source code

In [RecognizeSpeech.java](../../google-cloud-examples/src/main/java/com/google/cloud/examples/speech/snippets/RecognizeSpeech.java) we put a quick start example, which shows how you can use Google Speech API to automatically recognize speech based on a local file.
In [RecognizeSpeech.java](https://github.com/googleapis/google-cloud-java/blob/master/google-cloud-examples/src/main/java/com/google/cloud/examples/speech/snippets/RecognizeSpeech.java) we put a quick start example, which shows how you can use Google Speech API to automatically recognize speech based on a local file.

For an example audio file, you can use the [audio.raw](https://github.com/GoogleCloudPlatform/java-docs-samples/blob/master/speech/cloud-client/resources/audio.raw) file from the samples repository.
Note, to play the file on Unix-like system you may use the following command: `play -t raw -r 16k -e signed -b 16 -c 1 audio.raw`

0 comments on commit acf24a4

Please sign in to comment.