You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
*[Cloud Speech Node.js Client API Reference][client-docs]
21
21
*[Cloud Speech Documentation][product-docs]
@@ -96,21 +96,21 @@ quickstart();
96
96
97
97
## Samples
98
98
99
-
Samples are in the [`samples/`](https://github.com/googleapis/nodejs-speech/tree/master/samples) directory. Each sample's `README.md` has instructions for running its sample.
99
+
Samples are in the [`samples/`](https://github.com/googleapis/nodejs-speech/tree/main/samples) directory. Each sample's `README.md` has instructions for running its sample.
| Microphone stream |[source code](https://github.com/googleapis/nodejs-speech/blob/master/samples/MicrophoneStream.js)|[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-speech&page=editor&open_in_editor=samples/MicrophoneStream.js,samples/README.md)|
104
-
| Beta Features |[source code](https://github.com/googleapis/nodejs-speech/blob/master/samples/betaFeatures.js)|[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-speech&page=editor&open_in_editor=samples/betaFeatures.js,samples/README.md)|
105
-
| Export-to-storage.v1p1beta1 |[source code](https://github.com/googleapis/nodejs-speech/blob/master/samples/export-to-storage.v1p1beta1.js)|[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-speech&page=editor&open_in_editor=samples/export-to-storage.v1p1beta1.js,samples/README.md)|
106
-
| Infinite Streaming |[source code](https://github.com/googleapis/nodejs-speech/blob/master/samples/infiniteStreaming.js)|[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-speech&page=editor&open_in_editor=samples/infiniteStreaming.js,samples/README.md)|
107
-
| Model Adaptation |[source code](https://github.com/googleapis/nodejs-speech/blob/master/samples/modelAdaptation.js)|[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-speech&page=editor&open_in_editor=samples/modelAdaptation.js,samples/README.md)|
108
-
| Multi Region |[source code](https://github.com/googleapis/nodejs-speech/blob/master/samples/multiRegion.js)|[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-speech&page=editor&open_in_editor=samples/multiRegion.js,samples/README.md)|
109
-
| Profanity Filter |[source code](https://github.com/googleapis/nodejs-speech/blob/master/samples/profanityFilter.js)|[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-speech&page=editor&open_in_editor=samples/profanityFilter.js,samples/README.md)|
110
-
| Quickstart |[source code](https://github.com/googleapis/nodejs-speech/blob/master/samples/quickstart.js)|[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-speech&page=editor&open_in_editor=samples/quickstart.js,samples/README.md)|
111
-
| Recognize |[source code](https://github.com/googleapis/nodejs-speech/blob/master/samples/recognize.js)|[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-speech&page=editor&open_in_editor=samples/recognize.js,samples/README.md)|
112
-
| Recognize speech with metadata |[source code](https://github.com/googleapis/nodejs-speech/blob/master/samples/recognize.v1p1beta1.js)|[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-speech&page=editor&open_in_editor=samples/recognize.v1p1beta1.js,samples/README.md)|
113
-
| Transcribe Context Classes |[source code](https://github.com/googleapis/nodejs-speech/blob/master/samples/transcribeContextClasses.js)|[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-speech&page=editor&open_in_editor=samples/transcribeContextClasses.js,samples/README.md)|
103
+
| Microphone stream |[source code](https://github.com/googleapis/nodejs-speech/blob/main/samples/MicrophoneStream.js)|[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-speech&page=editor&open_in_editor=samples/MicrophoneStream.js,samples/README.md)|
104
+
| Beta Features |[source code](https://github.com/googleapis/nodejs-speech/blob/main/samples/betaFeatures.js)|[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-speech&page=editor&open_in_editor=samples/betaFeatures.js,samples/README.md)|
105
+
| Export-to-storage.v1p1beta1 |[source code](https://github.com/googleapis/nodejs-speech/blob/main/samples/export-to-storage.v1p1beta1.js)|[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-speech&page=editor&open_in_editor=samples/export-to-storage.v1p1beta1.js,samples/README.md)|
106
+
| Infinite Streaming |[source code](https://github.com/googleapis/nodejs-speech/blob/main/samples/infiniteStreaming.js)|[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-speech&page=editor&open_in_editor=samples/infiniteStreaming.js,samples/README.md)|
107
+
| Model Adaptation |[source code](https://github.com/googleapis/nodejs-speech/blob/main/samples/modelAdaptation.js)|[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-speech&page=editor&open_in_editor=samples/modelAdaptation.js,samples/README.md)|
108
+
| Multi Region |[source code](https://github.com/googleapis/nodejs-speech/blob/main/samples/multiRegion.js)|[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-speech&page=editor&open_in_editor=samples/multiRegion.js,samples/README.md)|
109
+
| Profanity Filter |[source code](https://github.com/googleapis/nodejs-speech/blob/main/samples/profanityFilter.js)|[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-speech&page=editor&open_in_editor=samples/profanityFilter.js,samples/README.md)|
110
+
| Quickstart |[source code](https://github.com/googleapis/nodejs-speech/blob/main/samples/quickstart.js)|[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-speech&page=editor&open_in_editor=samples/quickstart.js,samples/README.md)|
111
+
| Recognize |[source code](https://github.com/googleapis/nodejs-speech/blob/main/samples/recognize.js)|[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-speech&page=editor&open_in_editor=samples/recognize.js,samples/README.md)|
112
+
| Recognize speech with metadata |[source code](https://github.com/googleapis/nodejs-speech/blob/main/samples/recognize.v1p1beta1.js)|[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-speech&page=editor&open_in_editor=samples/recognize.v1p1beta1.js,samples/README.md)|
113
+
| Transcribe Context Classes |[source code](https://github.com/googleapis/nodejs-speech/blob/main/samples/transcribeContextClasses.js)|[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-speech&page=editor&open_in_editor=samples/transcribeContextClasses.js,samples/README.md)|
Copy file name to clipboardExpand all lines: packages/google-cloud-node/samples/README.md
+11-11
Original file line number
Diff line number
Diff line change
@@ -43,7 +43,7 @@ Before running the samples, make sure you've followed the steps outlined in
43
43
44
44
Streams audio input from microphone, translates to text.
45
45
46
-
View the [source code](https://github.com/googleapis/nodejs-speech/blob/master/samples/MicrophoneStream.js).
46
+
View the [source code](https://github.com/googleapis/nodejs-speech/blob/main/samples/MicrophoneStream.js).
47
47
48
48
[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-speech&page=editor&open_in_editor=samples/MicrophoneStream.js,samples/README.md)
49
49
@@ -60,7 +60,7 @@ __Usage:__
60
60
61
61
### Beta Features
62
62
63
-
View the [source code](https://github.com/googleapis/nodejs-speech/blob/master/samples/betaFeatures.js).
63
+
View the [source code](https://github.com/googleapis/nodejs-speech/blob/main/samples/betaFeatures.js).
64
64
65
65
[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-speech&page=editor&open_in_editor=samples/betaFeatures.js,samples/README.md)
66
66
@@ -77,7 +77,7 @@ __Usage:__
77
77
78
78
### Export-to-storage.v1p1beta1
79
79
80
-
View the [source code](https://github.com/googleapis/nodejs-speech/blob/master/samples/export-to-storage.v1p1beta1.js).
80
+
View the [source code](https://github.com/googleapis/nodejs-speech/blob/main/samples/export-to-storage.v1p1beta1.js).
81
81
82
82
[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-speech&page=editor&open_in_editor=samples/export-to-storage.v1p1beta1.js,samples/README.md)
83
83
@@ -96,7 +96,7 @@ __Usage:__
96
96
97
97
Performs infinite streaming using the streamingRecognize operation with the Cloud Speech API.
98
98
99
-
View the [source code](https://github.com/googleapis/nodejs-speech/blob/master/samples/infiniteStreaming.js).
99
+
View the [source code](https://github.com/googleapis/nodejs-speech/blob/main/samples/infiniteStreaming.js).
100
100
101
101
[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-speech&page=editor&open_in_editor=samples/infiniteStreaming.js,samples/README.md)
102
102
@@ -113,7 +113,7 @@ __Usage:__
113
113
114
114
### Model Adaptation
115
115
116
-
View the [source code](https://github.com/googleapis/nodejs-speech/blob/master/samples/modelAdaptation.js).
116
+
View the [source code](https://github.com/googleapis/nodejs-speech/blob/main/samples/modelAdaptation.js).
117
117
118
118
[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-speech&page=editor&open_in_editor=samples/modelAdaptation.js,samples/README.md)
119
119
@@ -130,7 +130,7 @@ __Usage:__
130
130
131
131
### Multi Region
132
132
133
-
View the [source code](https://github.com/googleapis/nodejs-speech/blob/master/samples/multiRegion.js).
133
+
View the [source code](https://github.com/googleapis/nodejs-speech/blob/main/samples/multiRegion.js).
134
134
135
135
[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-speech&page=editor&open_in_editor=samples/multiRegion.js,samples/README.md)
136
136
@@ -147,7 +147,7 @@ __Usage:__
147
147
148
148
### Profanity Filter
149
149
150
-
View the [source code](https://github.com/googleapis/nodejs-speech/blob/master/samples/profanityFilter.js).
150
+
View the [source code](https://github.com/googleapis/nodejs-speech/blob/main/samples/profanityFilter.js).
151
151
152
152
[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-speech&page=editor&open_in_editor=samples/profanityFilter.js,samples/README.md)
153
153
@@ -164,7 +164,7 @@ __Usage:__
164
164
165
165
### Quickstart
166
166
167
-
View the [source code](https://github.com/googleapis/nodejs-speech/blob/master/samples/quickstart.js).
167
+
View the [source code](https://github.com/googleapis/nodejs-speech/blob/main/samples/quickstart.js).
168
168
169
169
[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-speech&page=editor&open_in_editor=samples/quickstart.js,samples/README.md)
170
170
@@ -181,7 +181,7 @@ __Usage:__
181
181
182
182
### Recognize
183
183
184
-
View the [source code](https://github.com/googleapis/nodejs-speech/blob/master/samples/recognize.js).
184
+
View the [source code](https://github.com/googleapis/nodejs-speech/blob/main/samples/recognize.js).
185
185
186
186
[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-speech&page=editor&open_in_editor=samples/recognize.js,samples/README.md)
187
187
@@ -200,7 +200,7 @@ __Usage:__
200
200
201
201
Analyzes an audio stream, and detects speech along with metadata.
202
202
203
-
View the [source code](https://github.com/googleapis/nodejs-speech/blob/master/samples/recognize.v1p1beta1.js).
203
+
View the [source code](https://github.com/googleapis/nodejs-speech/blob/main/samples/recognize.v1p1beta1.js).
204
204
205
205
[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-speech&page=editor&open_in_editor=samples/recognize.v1p1beta1.js,samples/README.md)
206
206
@@ -219,7 +219,7 @@ __Usage:__
219
219
220
220
Provides "hints" to the speech recognizer to favor specific words and phrases in the results.
221
221
222
-
View the [source code](https://github.com/googleapis/nodejs-speech/blob/master/samples/transcribeContextClasses.js).
222
+
View the [source code](https://github.com/googleapis/nodejs-speech/blob/main/samples/transcribeContextClasses.js).
223
223
224
224
[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-speech&page=editor&open_in_editor=samples/transcribeContextClasses.js,samples/README.md)
0 commit comments