Skip to content

Commit d3de7f1

Browse files
feat(speech-to-text): generated code
chore(speech-to-text): manual changes chore(speech-to-text): Update response model chore(speech-to-text): manual changes chore(speech-to-text): manual changes
1 parent 883b971 commit d3de7f1

File tree

80 files changed

+204
-235
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

80 files changed

+204
-235
lines changed

speech-to-text/README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
## Installation
44

55
##### Maven
6+
67
```xml
78
<dependency>
89
<groupId>com.ibm.watson</groupId>
@@ -12,11 +13,13 @@
1213
```
1314

1415
##### Gradle
16+
1517
```gradle
1618
'com.ibm.watson:speech-to-text:8.2.1'
1719
```
1820

1921
## Usage
22+
2023
Use the [Speech to Text][speech_to_text] service to recognize the text from a .wav file.
2124

2225
```java
@@ -61,4 +64,4 @@ service.recognizeUsingWebSocket(options, new BaseRecognizeCallback() {
6164
Thread.sleep(20000);
6265
```
6366

64-
[speech_to_text]: https://cloud.ibm.com/docs/services/speech-to-text?topic=speech-to-text-about
67+
[speech_to_text]: https://cloud.ibm.com/docs/speech-to-text?topic=speech-to-text-about

speech-to-text/src/main/java/com/ibm/watson/speech_to_text/v1/SpeechToText.java

Lines changed: 64 additions & 85 deletions
Large diffs are not rendered by default.

speech-to-text/src/main/java/com/ibm/watson/speech_to_text/v1/model/AcousticModel.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* (C) Copyright IBM Corp. 2018, 2020.
2+
* (C) Copyright IBM Corp. 2020.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
55
* the License. You may obtain a copy of the License at

speech-to-text/src/main/java/com/ibm/watson/speech_to_text/v1/model/AcousticModels.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* (C) Copyright IBM Corp. 2018, 2020.
2+
* (C) Copyright IBM Corp. 2020.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
55
* the License. You may obtain a copy of the License at

speech-to-text/src/main/java/com/ibm/watson/speech_to_text/v1/model/AddAudioOptions.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* (C) Copyright IBM Corp. 2018, 2020.
2+
* (C) Copyright IBM Corp. 2020.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
55
* the License. You may obtain a copy of the License at

speech-to-text/src/main/java/com/ibm/watson/speech_to_text/v1/model/AddCorpusOptions.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* (C) Copyright IBM Corp. 2018, 2020.
2+
* (C) Copyright IBM Corp. 2020.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
55
* the License. You may obtain a copy of the License at
@@ -194,7 +194,7 @@ public String corpusName() {
194194
*
195195
* Make sure that you know the character encoding of the file. You must use that encoding when working with the words
196196
* in the custom language model. For more information, see [Character
197-
* encoding](https://cloud.ibm.com/docs/services/speech-to-text?topic=speech-to-text-corporaWords#charEncoding).
197+
* encoding](https://cloud.ibm.com/docs/speech-to-text?topic=speech-to-text-corporaWords#charEncoding).
198198
*
199199
* With the `curl` command, use the `--data-binary` option to upload the file for the request.
200200
*

speech-to-text/src/main/java/com/ibm/watson/speech_to_text/v1/model/AddGrammarOptions.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* (C) Copyright IBM Corp. 2019, 2020.
2+
* (C) Copyright IBM Corp. 2020.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
55
* the License. You may obtain a copy of the License at

speech-to-text/src/main/java/com/ibm/watson/speech_to_text/v1/model/AddWordOptions.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* (C) Copyright IBM Corp. 2018, 2020.
2+
* (C) Copyright IBM Corp. 2020.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
55
* the License. You may obtain a copy of the License at
@@ -184,7 +184,7 @@ public String customizationId() {
184184
* The custom word that is to be added to or updated in the custom language model. Do not include spaces in the word.
185185
* Use a `-` (dash) or `_` (underscore) to connect the tokens of compound words. URL-encode the word if it includes
186186
* non-ASCII characters. For more information, see [Character
187-
* encoding](https://cloud.ibm.com/docs/services/speech-to-text?topic=speech-to-text-corporaWords#charEncoding).
187+
* encoding](https://cloud.ibm.com/docs/speech-to-text?topic=speech-to-text-corporaWords#charEncoding).
188188
*
189189
* @return the wordName
190190
*/

speech-to-text/src/main/java/com/ibm/watson/speech_to_text/v1/model/AddWordsOptions.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* (C) Copyright IBM Corp. 2018, 2020.
2+
* (C) Copyright IBM Corp. 2020.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
55
* the License. You may obtain a copy of the License at

speech-to-text/src/main/java/com/ibm/watson/speech_to_text/v1/model/AudioDetails.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* (C) Copyright IBM Corp. 2018, 2020.
2+
* (C) Copyright IBM Corp. 2020.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
55
* the License. You may obtain a copy of the License at

0 commit comments

Comments
 (0)