Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions speech/recognize.js
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ function asyncRecognize (filename, encoding, sampleRateHertz, languageCode) {
speech.startRecognition(filename, request)
.then((results) => {
const operation = results[0];
// Get a Promise represention of the final result of the job
// Get a Promise representation of the final result of the job
return operation.promise();
})
.then((results) => {
Expand Down Expand Up @@ -176,7 +176,7 @@ function asyncRecognizeGCS (gcsUri, encoding, sampleRateHertz, languageCode) {
speech.startRecognition(gcsUri, request)
.then((results) => {
const operation = results[0];
// Get a Promise represention of the final result of the job
// Get a Promise representation of the final result of the job
return operation.promise();
})
.then((results) => {
Expand Down