Skip to content

Commit

Permalink
Update README
Browse files Browse the repository at this point in the history
Fix broken links per: #1118
  • Loading branch information
nnegrey authored Jun 15, 2018
1 parent 466f558 commit 153ba6a
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions texttospeech/cloud-client/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,35 +41,35 @@ To get started, [download][maven-download] and [install][maven-install] it.
[auth]: https://cloud.google.com/docs/authentication/getting-started

## Quckstart
Synthesize text to an output audio file. [Java Code](quickstart)
Synthesize text to an output audio file. [Java Code](https://github.com/GoogleCloudPlatform/java-docs-samples/tree/master/texttospeech/cloud-client/src/main/java/com/example/texttospeech/QuickstartSample.java)
```
mvn exec:java -DQuickstart
```
## List Voices
This sample lists all the supported voices. [Java Code](list_voices)
This sample lists all the supported voices. [Java Code](https://github.com/GoogleCloudPlatform/java-docs-samples/tree/master/texttospeech/cloud-client/src/main/java/com/example/texttospeech/ListAllSupportedVoices.java)
```
mvn exec:java -DListVoices
```
## Synthesize Text
This sample synthesizes text to an output audio file. [Java Code](synthesize_text)
This sample synthesizes text to an output audio file. [Java Code](https://github.com/GoogleCloudPlatform/java-docs-samples/tree/master/texttospeech/cloud-client/src/main/java/com/example/texttospeech/SynthesizeText.java)
```
mvn exec:java -DSynthesizeText -Dexec.args='--text "hello"'
```
This sample synthesizes ssml to an output audio file. [Java Code](synthesize_text)
This sample synthesizes ssml to an output audio file. [Java Code](https://github.com/GoogleCloudPlatform/java-docs-samples/tree/master/texttospeech/cloud-client/src/main/java/com/example/texttospeech/SynthesizeText.java)
```
mvn exec:java -DSynthesizeText -Dexec.args='--ssml "<speak>Hello there.</speak>"'
```
## Synthesize File
This sample synthesizes a text file to an output audio file. [Java Code](synthesize_file)
This sample synthesizes a text file to an output audio file. [Java Code](https://github.com/GoogleCloudPlatform/java-docs-samples/tree/master/texttospeech/cloud-client/src/main/java/com/example/texttospeech/SynthesizeFile.java)
```
mvn exec:java -DSynthesizeFile -Dexec.args='--text resources/hello.txt'
```
This sample synthesizes a ssml file to an output audio file. [Java Code](synthesize_file)
This sample synthesizes a ssml file to an output audio file. [Java Code](https://github.com/GoogleCloudPlatform/java-docs-samples/tree/master/texttospeech/cloud-client/src/main/java/com/example/texttospeech/SynthesizeFile.java)
```
mvn exec:java -DSynthesizeFile -Dexec.args='--ssml resources/hello.ssml'
```
```

0 comments on commit 153ba6a

Please sign in to comment.