b574c492fd17049310ca49785227de4493902c1e5516dd4187f495f7d126824e.json 6.6 KB

1
  1. {"ast":null,"code":"\"use strict\";\n\n// Copyright (c) Microsoft Corporation. All rights reserved.\n// Licensed under the MIT license.\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.MeetingTranscriptionEventArgs = exports.ConversationTranscriptionEventArgs = exports.SpeechRecognitionEventArgs = void 0;\n/* eslint-disable max-classes-per-file */\nconst Exports_js_1 = require(\"./Exports.js\");\n/**\n * Defines contents of speech recognizing/recognized event.\n * @class SpeechRecognitionEventArgs\n */\nclass SpeechRecognitionEventArgs extends Exports_js_1.RecognitionEventArgs {\n /**\n * Creates and initializes an instance of this class.\n * @constructor\n * @param {SpeechRecognitionResult} result - The speech recognition result.\n * @param {number} offset - The offset.\n * @param {string} sessionId - The session id.\n */\n constructor(result, offset, sessionId) {\n super(offset, sessionId);\n this.privResult = result;\n }\n /**\n * Specifies the recognition result.\n * @member SpeechRecognitionEventArgs.prototype.result\n * @function\n * @public\n * @returns {SpeechRecognitionResult} the recognition result.\n */\n get result() {\n return this.privResult;\n }\n}\nexports.SpeechRecognitionEventArgs = SpeechRecognitionEventArgs;\n/**\n * Defines contents of conversation transcribed/transcribing event.\n * @class ConversationTranscriptionEventArgs\n */\nclass ConversationTranscriptionEventArgs extends Exports_js_1.RecognitionEventArgs {\n /**\n * Creates and initializes an instance of this class.\n * @constructor\n * @param {ConversationTranscriptionResult} result - The conversation transcription result.\n * @param {number} offset - The offset.\n * @param {string} sessionId - The session id.\n */\n constructor(result, offset, sessionId) {\n super(offset, sessionId);\n this.privResult = result;\n }\n /**\n * Specifies the transcription result.\n * @member ConversationTranscription1EventArgs.prototype.result\n * @function\n * @public\n * @returns {ConversationTranscriptionResult} the recognition result.\n */\n get result() {\n return this.privResult;\n }\n}\nexports.ConversationTranscriptionEventArgs = ConversationTranscriptionEventArgs;\n/**\n * Defines contents of meeting transcribed/transcribing event.\n * @class MeetingTranscriptionEventArgs\n */\nclass MeetingTranscriptionEventArgs extends SpeechRecognitionEventArgs {}\nexports.MeetingTranscriptionEventArgs = MeetingTranscriptionEventArgs;","map":{"version":3,"names":["Object","defineProperty","exports","value","MeetingTranscriptionEventArgs","ConversationTranscriptionEventArgs","SpeechRecognitionEventArgs","Exports_js_1","require","RecognitionEventArgs","constructor","result","offset","sessionId","privResult"],"sources":["F:/workspace/202226701027/huinongbao-app/node_modules/microsoft-cognitiveservices-speech-sdk/distrib/lib/src/sdk/SpeechRecognitionEventArgs.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.MeetingTranscriptionEventArgs = exports.ConversationTranscriptionEventArgs = exports.SpeechRecognitionEventArgs = void 0;\n/* eslint-disable max-classes-per-file */\nconst Exports_js_1 = require(\"./Exports.js\");\n/**\n * Defines contents of speech recognizing/recognized event.\n * @class SpeechRecognitionEventArgs\n */\nclass SpeechRecognitionEventArgs extends Exports_js_1.RecognitionEventArgs {\n /**\n * Creates and initializes an instance of this class.\n * @constructor\n * @param {SpeechRecognitionResult} result - The speech recognition result.\n * @param {number} offset - The offset.\n * @param {string} sessionId - The session id.\n */\n constructor(result, offset, sessionId) {\n super(offset, sessionId);\n this.privResult = result;\n }\n /**\n * Specifies the recognition result.\n * @member SpeechRecognitionEventArgs.prototype.result\n * @function\n * @public\n * @returns {SpeechRecognitionResult} the recognition result.\n */\n get result() {\n return this.privResult;\n }\n}\nexports.SpeechRecognitionEventArgs = SpeechRecognitionEventArgs;\n/**\n * Defines contents of conversation transcribed/transcribing event.\n * @class ConversationTranscriptionEventArgs\n */\nclass ConversationTranscriptionEventArgs extends Exports_js_1.RecognitionEventArgs {\n /**\n * Creates and initializes an instance of this class.\n * @constructor\n * @param {ConversationTranscriptionResult} result - The conversation transcription result.\n * @param {number} offset - The offset.\n * @param {string} sessionId - The session id.\n */\n constructor(result, offset, sessionId) {\n super(offset, sessionId);\n this.privResult = result;\n }\n /**\n * Specifies the transcription result.\n * @member ConversationTranscription1EventArgs.prototype.result\n * @function\n * @public\n * @returns {ConversationTranscriptionResult} the recognition result.\n */\n get result() {\n return this.privResult;\n }\n}\nexports.ConversationTranscriptionEventArgs = ConversationTranscriptionEventArgs;\n/**\n * Defines contents of meeting transcribed/transcribing event.\n * @class MeetingTranscriptionEventArgs\n */\nclass MeetingTranscriptionEventArgs extends SpeechRecognitionEventArgs {\n}\nexports.MeetingTranscriptionEventArgs = MeetingTranscriptionEventArgs;\n\n"],"mappings":"AAAA,YAAY;;AACZ;AACA;AACAA,MAAM,CAACC,cAAc,CAACC,OAAO,EAAE,YAAY,EAAE;EAAEC,KAAK,EAAE;AAAK,CAAC,CAAC;AAC7DD,OAAO,CAACE,6BAA6B,GAAGF,OAAO,CAACG,kCAAkC,GAAGH,OAAO,CAACI,0BAA0B,GAAG,KAAK,CAAC;AAChI;AACA,MAAMC,YAAY,GAAGC,OAAO,CAAC,cAAc,CAAC;AAC5C;AACA;AACA;AACA;AACA,MAAMF,0BAA0B,SAASC,YAAY,CAACE,oBAAoB,CAAC;EACvE;AACJ;AACA;AACA;AACA;AACA;AACA;EACIC,WAAWA,CAACC,MAAM,EAAEC,MAAM,EAAEC,SAAS,EAAE;IACnC,KAAK,CAACD,MAAM,EAAEC,SAAS,CAAC;IACxB,IAAI,CAACC,UAAU,GAAGH,MAAM;EAC5B;EACA;AACJ;AACA;AACA;AACA;AACA;AACA;EACI,IAAIA,MAAMA,CAAA,EAAG;IACT,OAAO,IAAI,CAACG,UAAU;EAC1B;AACJ;AACAZ,OAAO,CAACI,0BAA0B,GAAGA,0BAA0B;AAC/D;AACA;AACA;AACA;AACA,MAAMD,kCAAkC,SAASE,YAAY,CAACE,oBAAoB,CAAC;EAC/E;AACJ;AACA;AACA;AACA;AACA;AACA;EACIC,WAAWA,CAACC,MAAM,EAAEC,MAAM,EAAEC,SAAS,EAAE;IACnC,KAAK,CAACD,MAAM,EAAEC,SAAS,CAAC;IACxB,IAAI,CAACC,UAAU,GAAGH,MAAM;EAC5B;EACA;AACJ;AACA;AACA;AACA;AACA;AACA;EACI,IAAIA,MAAMA,CAAA,EAAG;IACT,OAAO,IAAI,CAACG,UAAU;EAC1B;AACJ;AACAZ,OAAO,CAACG,kCAAkC,GAAGA,kCAAkC;AAC/E;AACA;AACA;AACA;AACA,MAAMD,6BAA6B,SAASE,0BAA0B,CAAC;AAEvEJ,OAAO,CAACE,6BAA6B,GAAGA,6BAA6B","ignoreList":[]},"metadata":{},"sourceType":"script","externalDependencies":[]}