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.IntentRecognitionResult = void 0;\nconst Exports_js_1 = require(\"./Exports.js\");\n/**\n * Intent recognition result.\n * @class\n */\nclass IntentRecognitionResult extends Exports_js_1.SpeechRecognitionResult {\n /**\n * Creates and initializes an instance of this class.\n * @constructor\n * @param intentId - The intent id.\n * @param resultId - The result id.\n * @param reason - The reason.\n * @param text - The recognized text.\n * @param duration - The duration.\n * @param offset - The offset into the stream.\n * @param language - Primary Language detected, if provided.\n * @param languageDetectionConfidence - Primary Language confidence (\"Unknown,\" \"Low,\" \"Medium,\" \"High\"...), if provided.\n * @param errorDetails - Error details, if provided.\n * @param json - Additional Json, if provided.\n * @param properties - Additional properties, if provided.\n */\n constructor(intentId, resultId, reason, text, duration, offset, language, languageDetectionConfidence, errorDetails, json, properties) {\n super(resultId, reason, text, duration, offset, language, languageDetectionConfidence, undefined, errorDetails, json, properties);\n this.privIntentId = intentId;\n }\n /**\n * A String that represents the intent identifier being recognized.\n * @member IntentRecognitionResult.prototype.intentId\n * @function\n * @public\n * @returns {string} A String that represents the intent identifier being recognized.\n */\n get intentId() {\n return this.privIntentId;\n }\n}\nexports.IntentRecognitionResult = IntentRecognitionResult;","map":{"version":3,"names":["Object","defineProperty","exports","value","IntentRecognitionResult","Exports_js_1","require","SpeechRecognitionResult","constructor","intentId","resultId","reason","text","duration","offset","language","languageDetectionConfidence","errorDetails","json","properties","undefined","privIntentId"],"sources":["F:/workspace/202226701027/huinongbao-app/node_modules/microsoft-cognitiveservices-speech-sdk/distrib/lib/src/sdk/IntentRecognitionResult.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.IntentRecognitionResult = void 0;\nconst Exports_js_1 = require(\"./Exports.js\");\n/**\n * Intent recognition result.\n * @class\n */\nclass IntentRecognitionResult extends Exports_js_1.SpeechRecognitionResult {\n /**\n * Creates and initializes an instance of this class.\n * @constructor\n * @param intentId - The intent id.\n * @param resultId - The result id.\n * @param reason - The reason.\n * @param text - The recognized text.\n * @param duration - The duration.\n * @param offset - The offset into the stream.\n * @param language - Primary Language detected, if provided.\n * @param languageDetectionConfidence - Primary Language confidence (\"Unknown,\" \"Low,\" \"Medium,\" \"High\"...), if provided.\n * @param errorDetails - Error details, if provided.\n * @param json - Additional Json, if provided.\n * @param properties - Additional properties, if provided.\n */\n constructor(intentId, resultId, reason, text, duration, offset, language, languageDetectionConfidence, errorDetails, json, properties) {\n super(resultId, reason, text, duration, offset, language, languageDetectionConfidence, undefined, errorDetails, json, properties);\n this.privIntentId = intentId;\n }\n /**\n * A String that represents the intent identifier being recognized.\n * @member IntentRecognitionResult.prototype.intentId\n * @function\n * @public\n * @returns {string} A String that represents the intent identifier being recognized.\n */\n get intentId() {\n return this.privIntentId;\n }\n}\nexports.IntentRecognitionResult = IntentRecognitionResult;\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,uBAAuB,GAAG,KAAK,CAAC;AACxC,MAAMC,YAAY,GAAGC,OAAO,CAAC,cAAc,CAAC;AAC5C;AACA;AACA;AACA;AACA,MAAMF,uBAAuB,SAASC,YAAY,CAACE,uBAAuB,CAAC;EACvE;AACJ;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;EACIC,WAAWA,CAACC,QAAQ,EAAEC,QAAQ,EAAEC,MAAM,EAAEC,IAAI,EAAEC,QAAQ,EAAEC,MAAM,EAAEC,QAAQ,EAAEC,2BAA2B,EAAEC,YAAY,EAAEC,IAAI,EAAEC,UAAU,EAAE;IACnI,KAAK,CAACT,QAAQ,EAAEC,MAAM,EAAEC,IAAI,EAAEC,QAAQ,EAAEC,MAAM,EAAEC,QAAQ,EAAEC,2BAA2B,EAAEI,SAAS,EAAEH,YAAY,EAAEC,IAAI,EAAEC,UAAU,CAAC;IACjI,IAAI,CAACE,YAAY,GAAGZ,QAAQ;EAChC;EACA;AACJ;AACA;AACA;AACA;AACA;AACA;EACI,IAAIA,QAAQA,CAAA,EAAG;IACX,OAAO,IAAI,CAACY,YAAY;EAC5B;AACJ;AACAnB,OAAO,CAACE,uBAAuB,GAAGA,uBAAuB","ignoreList":[]},"metadata":{},"sourceType":"script","externalDependencies":[]}
|