diff --git a/lib/tasks/gather.js b/lib/tasks/gather.js index f05195dd..22f092d4 100644 --- a/lib/tasks/gather.js +++ b/lib/tasks/gather.js @@ -313,6 +313,7 @@ class TaskGather extends Task { ['diarization', 'GOOGLE_SPEECH_PROFANITY_FILTER'] ].forEach((arr) => { if (this[arr[0]]) opts[arr[1]] = true; + else if (this[arr[0]] === false) opts[arr[1]] = false; }); if (this.hints.length > 0) { opts.GOOGLE_SPEECH_HINTS = this.hints.join(','); @@ -355,7 +356,7 @@ class TaskGather extends Task { ep.addCustomEventListener(AwsTranscriptionEvents.VadDetected, this._onVadDetected.bind(this, cs, ep)); } else if ('microsoft' === this.vendor) { - this.bugname = 'azure_trancribe'; + this.bugname = 'azure_transcribe'; if (this.sttCredentials) { Object.assign(opts, { 'AZURE_SUBSCRIPTION_KEY': this.sttCredentials.api_key,