Skip to content

Commit

Permalink
updates word time offsets region tag (#146)
Browse files Browse the repository at this point in the history
  • Loading branch information
alixhami authored and Ace Nassri committed Nov 17, 2022
1 parent c22d23f commit 4a8eea6
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 @@ -290,7 +290,7 @@ function asyncRecognizeGCSWords(
sampleRateHertz,
languageCode
) {
// [START speech_transcribe_async_time_offsets_gcs]
// [START speech_transcribe_async_word_time_offsets_gcs]
// Imports the Google Cloud client library
const speech = require('@google-cloud/speech');

Expand Down Expand Up @@ -353,7 +353,7 @@ function asyncRecognizeGCSWords(
.catch(err => {
console.error('ERROR:', err);
});
// [END speech_transcribe_async_time_offsets_gcs]
// [END speech_transcribe_async_word_time_offsets_gcs]
}

function streamingRecognize(filename, encoding, sampleRateHertz, languageCode) {
Expand Down

0 comments on commit 4a8eea6

Please sign in to comment.