1 |
- {"ast":null,"code":"\"use strict\";\n\n// Copyright (c) Microsoft Corporation. All rights reserved.\n// Licensed under the MIT license.\nvar _asyncToGenerator = require(\"F:/workspace/202226701027/huinongbao-app/node_modules/@babel/runtime/helpers/asyncToGenerator.js\").default;\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.ConversationTranscriptionServiceRecognizer = void 0;\nconst Exports_js_1 = require(\"../sdk/Exports.js\");\nconst Exports_js_2 = require(\"./Exports.js\");\n// eslint-disable-next-line max-classes-per-file\nclass ConversationTranscriptionServiceRecognizer extends Exports_js_2.ServiceRecognizerBase {\n constructor(authentication, connectionFactory, audioSource, recognizerConfig, conversationTranscriber) {\n super(authentication, connectionFactory, audioSource, recognizerConfig, conversationTranscriber);\n this.privConversationTranscriber = conversationTranscriber;\n this.setSpeakerDiarizationJson();\n }\n setSpeakerDiarizationJson() {\n if (this.privEnableSpeakerId) {\n const phraseDetection = this.privSpeechContext.getSection(\"phraseDetection\");\n phraseDetection.mode = \"Conversation\";\n const speakerDiarization = {};\n speakerDiarization.mode = \"Anonymous\";\n speakerDiarization.audioSessionId = this.privDiarizationSessionId;\n speakerDiarization.audioOffsetMs = 0;\n speakerDiarization.diarizeIntermediates = this.privRecognizerConfig.parameters.getProperty(Exports_js_1.PropertyId.SpeechServiceResponse_DiarizeIntermediateResults, \"false\") === \"true\";\n phraseDetection.speakerDiarization = speakerDiarization;\n this.privSpeechContext.setSection(\"phraseDetection\", phraseDetection);\n }\n }\n processTypeSpecificMessages(connectionMessage) {\n var _this = this;\n return _asyncToGenerator(function* () {\n let result;\n const resultProps = new Exports_js_1.PropertyCollection();\n resultProps.setProperty(Exports_js_1.PropertyId.SpeechServiceResponse_JsonResult, connectionMessage.textBody);\n let processed = false;\n switch (connectionMessage.path.toLowerCase()) {\n case \"speech.hypothesis\":\n case \"speech.fragment\":\n const hypothesis = Exports_js_2.SpeechHypothesis.fromJSON(connectionMessage.textBody);\n const offset = hypothesis.Offset + _this.privRequestSession.currentTurnAudioOffset;\n result = new Exports_js_1.ConversationTranscriptionResult(_this.privRequestSession.requestId, Exports_js_1.ResultReason.RecognizingSpeech, hypothesis.Text, hypothesis.Duration, offset, hypothesis.Language, hypothesis.LanguageDetectionConfidence, hypothesis.SpeakerId, undefined, connectionMessage.textBody, resultProps);\n _this.privRequestSession.onHypothesis(offset);\n const ev = new Exports_js_1.ConversationTranscriptionEventArgs(result, hypothesis.Duration, _this.privRequestSession.sessionId);\n if (!!_this.privConversationTranscriber.transcribing) {\n try {\n _this.privConversationTranscriber.transcribing(_this.privConversationTranscriber, ev);\n /* eslint-disable no-empty */\n } catch (error) {\n // Not going to let errors in the event handler\n // trip things up.\n }\n }\n processed = true;\n break;\n case \"speech.phrase\":\n const simple = Exports_js_2.SimpleSpeechPhrase.fromJSON(connectionMessage.textBody);\n const resultReason = Exports_js_2.EnumTranslation.implTranslateRecognitionResult(simple.RecognitionStatus);\n _this.privRequestSession.onPhraseRecognized(_this.privRequestSession.currentTurnAudioOffset + simple.Offset + simple.Duration);\n if (Exports_js_1.ResultReason.Canceled === resultReason) {\n const cancelReason = Exports_js_2.EnumTranslation.implTranslateCancelResult(simple.RecognitionStatus);\n const cancellationErrorCode = Exports_js_2.EnumTranslation.implTranslateCancelErrorCode(simple.RecognitionStatus);\n yield _this.cancelRecognitionLocal(cancelReason, cancellationErrorCode, Exports_js_2.EnumTranslation.implTranslateErrorDetails(cancellationErrorCode));\n } else {\n if (!(_this.privRequestSession.isSpeechEnded && resultReason === Exports_js_1.ResultReason.NoMatch && simple.RecognitionStatus !== Exports_js_2.RecognitionStatus.InitialSilenceTimeout)) {\n if (_this.privRecognizerConfig.parameters.getProperty(Exports_js_2.OutputFormatPropertyName) === Exports_js_1.OutputFormat[Exports_js_1.OutputFormat.Simple]) {\n result = new Exports_js_1.ConversationTranscriptionResult(_this.privRequestSession.requestId, resultReason, simple.DisplayText, simple.Duration, simple.Offset + _this.privRequestSession.currentTurnAudioOffset, simple.Language, simple.LanguageDetectionConfidence, simple.SpeakerId, undefined, connectionMessage.textBody, resultProps);\n } else {\n const detailed = Exports_js_2.DetailedSpeechPhrase.fromJSON(connectionMessage.textBody);\n const totalOffset = detailed.Offset + _this.privRequestSession.currentTurnAudioOffset;\n const offsetCorrectedJson = detailed.getJsonWithCorrectedOffsets(totalOffset);\n result = new Exports_js_1.ConversationTranscriptionResult(_this.privRequestSession.requestId, resultReason, detailed.RecognitionStatus === Exports_js_2.RecognitionStatus.Success ? detailed.NBest[0].Display : undefined, detailed.Duration, totalOffset, detailed.Language, detailed.LanguageDetectionConfidence, simple.SpeakerId, undefined, offsetCorrectedJson, resultProps);\n }\n const event = new Exports_js_1.ConversationTranscriptionEventArgs(result, result.offset, _this.privRequestSession.sessionId);\n if (!!_this.privConversationTranscriber.transcribed) {\n try {\n _this.privConversationTranscriber.transcribed(_this.privConversationTranscriber, event);\n /* eslint-disable no-empty */\n } catch (error) {\n // Not going to let errors in the event handler\n // trip things up.\n }\n }\n }\n }\n processed = true;\n break;\n default:\n break;\n }\n return processed;\n })();\n }\n // Cancels recognition.\n cancelRecognition(sessionId, requestId, cancellationReason, errorCode, error) {\n const properties = new Exports_js_1.PropertyCollection();\n properties.setProperty(Exports_js_2.CancellationErrorCodePropertyName, Exports_js_1.CancellationErrorCode[errorCode]);\n if (!!this.privConversationTranscriber.canceled) {\n const cancelEvent = new Exports_js_1.ConversationTranscriptionCanceledEventArgs(cancellationReason, error, errorCode, undefined, sessionId);\n try {\n this.privConversationTranscriber.canceled(this.privConversationTranscriber, cancelEvent);\n /* eslint-disable no-empty */\n } catch {}\n }\n }\n}\nexports.ConversationTranscriptionServiceRecognizer = ConversationTranscriptionServiceRecognizer;","map":{"version":3,"names":["_asyncToGenerator","require","default","Object","defineProperty","exports","value","ConversationTranscriptionServiceRecognizer","Exports_js_1","Exports_js_2","ServiceRecognizerBase","constructor","authentication","connectionFactory","audioSource","recognizerConfig","conversationTranscriber","privConversationTranscriber","setSpeakerDiarizationJson","privEnableSpeakerId","phraseDetection","privSpeechContext","getSection","mode","speakerDiarization","audioSessionId","privDiarizationSessionId","audioOffsetMs","diarizeIntermediates","privRecognizerConfig","parameters","getProperty","PropertyId","SpeechServiceResponse_DiarizeIntermediateResults","setSection","processTypeSpecificMessages","connectionMessage","_this","result","resultProps","PropertyCollection","setProperty","SpeechServiceResponse_JsonResult","textBody","processed","path","toLowerCase","hypothesis","SpeechHypothesis","fromJSON","offset","Offset","privRequestSession","currentTurnAudioOffset","ConversationTranscriptionResult","requestId","ResultReason","RecognizingSpeech","Text","Duration","Language","LanguageDetectionConfidence","SpeakerId","undefined","onHypothesis","ev","ConversationTranscriptionEventArgs","sessionId","transcribing","error","simple","SimpleSpeechPhrase","resultReason","EnumTranslation","implTranslateRecognitionResult","RecognitionStatus","onPhraseRecognized","Canceled","cancelReason","implTranslateCancelResult","cancellationErrorCode","implTranslateCancelErrorCode","cancelRecognitionLocal","implTranslateErrorDetails","isSpeechEnded","NoMatch","InitialSilenceTimeout","OutputFormatPropertyName","OutputFormat","Simple","DisplayText","detailed","DetailedSpeechPhrase","totalOffset","offsetCorrectedJson","getJsonWithCorrectedOffsets","Success","NBest","Display","event","transcribed","cancelRecognition","cancellationReason","errorCode","properties","CancellationErrorCodePropertyName","CancellationErrorCode","canceled","cancelEvent","ConversationTranscriptionCanceledEventArgs"],"sources":["F:/workspace/202226701027/huinongbao-app/node_modules/microsoft-cognitiveservices-speech-sdk/distrib/lib/src/common.speech/ConversationTranscriptionServiceRecognizer.js"],"sourcesContent":["\"use strict\";\n// Copyright (c) Microsoft Corporation. All rights reserved.\n// Licensed under the MIT license.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.ConversationTranscriptionServiceRecognizer = void 0;\nconst Exports_js_1 = require(\"../sdk/Exports.js\");\nconst Exports_js_2 = require(\"./Exports.js\");\n// eslint-disable-next-line max-classes-per-file\nclass ConversationTranscriptionServiceRecognizer extends Exports_js_2.ServiceRecognizerBase {\n constructor(authentication, connectionFactory, audioSource, recognizerConfig, conversationTranscriber) {\n super(authentication, connectionFactory, audioSource, recognizerConfig, conversationTranscriber);\n this.privConversationTranscriber = conversationTranscriber;\n this.setSpeakerDiarizationJson();\n }\n setSpeakerDiarizationJson() {\n if (this.privEnableSpeakerId) {\n const phraseDetection = this.privSpeechContext.getSection(\"phraseDetection\");\n phraseDetection.mode = \"Conversation\";\n const speakerDiarization = {};\n speakerDiarization.mode = \"Anonymous\";\n speakerDiarization.audioSessionId = this.privDiarizationSessionId;\n speakerDiarization.audioOffsetMs = 0;\n speakerDiarization.diarizeIntermediates = this.privRecognizerConfig.parameters.getProperty(Exports_js_1.PropertyId.SpeechServiceResponse_DiarizeIntermediateResults, \"false\") === \"true\";\n phraseDetection.speakerDiarization = speakerDiarization;\n this.privSpeechContext.setSection(\"phraseDetection\", phraseDetection);\n }\n }\n async processTypeSpecificMessages(connectionMessage) {\n let result;\n const resultProps = new Exports_js_1.PropertyCollection();\n resultProps.setProperty(Exports_js_1.PropertyId.SpeechServiceResponse_JsonResult, connectionMessage.textBody);\n let processed = false;\n switch (connectionMessage.path.toLowerCase()) {\n case \"speech.hypothesis\":\n case \"speech.fragment\":\n const hypothesis = Exports_js_2.SpeechHypothesis.fromJSON(connectionMessage.textBody);\n const offset = hypothesis.Offset + this.privRequestSession.currentTurnAudioOffset;\n result = new Exports_js_1.ConversationTranscriptionResult(this.privRequestSession.requestId, Exports_js_1.ResultReason.RecognizingSpeech, hypothesis.Text, hypothesis.Duration, offset, hypothesis.Language, hypothesis.LanguageDetectionConfidence, hypothesis.SpeakerId, undefined, connectionMessage.textBody, resultProps);\n this.privRequestSession.onHypothesis(offset);\n const ev = new Exports_js_1.ConversationTranscriptionEventArgs(result, hypothesis.Duration, this.privRequestSession.sessionId);\n if (!!this.privConversationTranscriber.transcribing) {\n try {\n this.privConversationTranscriber.transcribing(this.privConversationTranscriber, ev);\n /* eslint-disable no-empty */\n }\n catch (error) {\n // Not going to let errors in the event handler\n // trip things up.\n }\n }\n processed = true;\n break;\n case \"speech.phrase\":\n const simple = Exports_js_2.SimpleSpeechPhrase.fromJSON(connectionMessage.textBody);\n const resultReason = Exports_js_2.EnumTranslation.implTranslateRecognitionResult(simple.RecognitionStatus);\n this.privRequestSession.onPhraseRecognized(this.privRequestSession.currentTurnAudioOffset + simple.Offset + simple.Duration);\n if (Exports_js_1.ResultReason.Canceled === resultReason) {\n const cancelReason = Exports_js_2.EnumTranslation.implTranslateCancelResult(simple.RecognitionStatus);\n const cancellationErrorCode = Exports_js_2.EnumTranslation.implTranslateCancelErrorCode(simple.RecognitionStatus);\n await this.cancelRecognitionLocal(cancelReason, cancellationErrorCode, Exports_js_2.EnumTranslation.implTranslateErrorDetails(cancellationErrorCode));\n }\n else {\n if (!(this.privRequestSession.isSpeechEnded && resultReason === Exports_js_1.ResultReason.NoMatch && simple.RecognitionStatus !== Exports_js_2.RecognitionStatus.InitialSilenceTimeout)) {\n if (this.privRecognizerConfig.parameters.getProperty(Exports_js_2.OutputFormatPropertyName) === Exports_js_1.OutputFormat[Exports_js_1.OutputFormat.Simple]) {\n result = new Exports_js_1.ConversationTranscriptionResult(this.privRequestSession.requestId, resultReason, simple.DisplayText, simple.Duration, simple.Offset + this.privRequestSession.currentTurnAudioOffset, simple.Language, simple.LanguageDetectionConfidence, simple.SpeakerId, undefined, connectionMessage.textBody, resultProps);\n }\n else {\n const detailed = Exports_js_2.DetailedSpeechPhrase.fromJSON(connectionMessage.textBody);\n const totalOffset = detailed.Offset + this.privRequestSession.currentTurnAudioOffset;\n const offsetCorrectedJson = detailed.getJsonWithCorrectedOffsets(totalOffset);\n result = new Exports_js_1.ConversationTranscriptionResult(this.privRequestSession.requestId, resultReason, detailed.RecognitionStatus === Exports_js_2.RecognitionStatus.Success ? detailed.NBest[0].Display : undefined, detailed.Duration, totalOffset, detailed.Language, detailed.LanguageDetectionConfidence, simple.SpeakerId, undefined, offsetCorrectedJson, resultProps);\n }\n const event = new Exports_js_1.ConversationTranscriptionEventArgs(result, result.offset, this.privRequestSession.sessionId);\n if (!!this.privConversationTranscriber.transcribed) {\n try {\n this.privConversationTranscriber.transcribed(this.privConversationTranscriber, event);\n /* eslint-disable no-empty */\n }\n catch (error) {\n // Not going to let errors in the event handler\n // trip things up.\n }\n }\n }\n }\n processed = true;\n break;\n default:\n break;\n }\n return processed;\n }\n // Cancels recognition.\n cancelRecognition(sessionId, requestId, cancellationReason, errorCode, error) {\n const properties = new Exports_js_1.PropertyCollection();\n properties.setProperty(Exports_js_2.CancellationErrorCodePropertyName, Exports_js_1.CancellationErrorCode[errorCode]);\n if (!!this.privConversationTranscriber.canceled) {\n const cancelEvent = new Exports_js_1.ConversationTranscriptionCanceledEventArgs(cancellationReason, error, errorCode, undefined, sessionId);\n try {\n this.privConversationTranscriber.canceled(this.privConversationTranscriber, cancelEvent);\n /* eslint-disable no-empty */\n }\n catch { }\n }\n }\n}\nexports.ConversationTranscriptionServiceRecognizer = ConversationTranscriptionServiceRecognizer;\n\n"],"mappings":"AAAA,YAAY;;AACZ;AACA;AAAA,IAAAA,iBAAA,GAAAC,OAAA,qGAAAC,OAAA;AACAC,MAAM,CAACC,cAAc,CAACC,OAAO,EAAE,YAAY,EAAE;EAAEC,KAAK,EAAE;AAAK,CAAC,CAAC;AAC7DD,OAAO,CAACE,0CAA0C,GAAG,KAAK,CAAC;AAC3D,MAAMC,YAAY,GAAGP,OAAO,CAAC,mBAAmB,CAAC;AACjD,MAAMQ,YAAY,GAAGR,OAAO,CAAC,cAAc,CAAC;AAC5C;AACA,MAAMM,0CAA0C,SAASE,YAAY,CAACC,qBAAqB,CAAC;EACxFC,WAAWA,CAACC,cAAc,EAAEC,iBAAiB,EAAEC,WAAW,EAAEC,gBAAgB,EAAEC,uBAAuB,EAAE;IACnG,KAAK,CAACJ,cAAc,EAAEC,iBAAiB,EAAEC,WAAW,EAAEC,gBAAgB,EAAEC,uBAAuB,CAAC;IAChG,IAAI,CAACC,2BAA2B,GAAGD,uBAAuB;IAC1D,IAAI,CAACE,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