diff --git a/lib/tasks/transcribe.js b/lib/tasks/transcribe.js index 7e4eb881..fdbd9fc9 100644 --- a/lib/tasks/transcribe.js +++ b/lib/tasks/transcribe.js @@ -46,6 +46,15 @@ class TaskTranscribe extends SttTask { async exec(cs, {ep, ep2}) { await super.exec(cs, {ep, ep2}); + + if (this.data.recognizer.vendor === 'nuance') { + this.data.recognizer.nuanceOptions = { + // by default, nuance STT will recognize only 1st utterance. + // enable multiple allow nuance detact all utterances + utteranceDetectionMode: 'multiple', + ...this.data.recognizer.nuanceOptions + }; + } const {updateSpeechCredentialLastUsed} = require('../utils/db-utils')(this.logger, cs.srf); if (cs.hasGlobalSttHints) {