Skip to content

Commit

Permalink
Fixes typo (#377)
Browse files Browse the repository at this point in the history
  • Loading branch information
gguuss authored and jmdobry committed May 5, 2017
1 parent 151f5ab commit 9ee9786
Showing 1 changed file with 2 additions and 2 deletions.
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

0 comments on commit 9ee9786

Please sign in to comment.