@euirim/microsoft-cognitiveservices-speech-sdk
Version:
Microsoft Cognitive Services Speech SDK for JavaScript
1 lines • 2.18 kB
Source Map (JSON)
{"version":3,"sources":["src/sdk/IntentRecognitionResult.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,kBAAkB,EAAE,YAAY,EAAE,uBAAuB,EAAE,MAAM,WAAW,CAAC;AAEtF;;;GAGG;AACH,qBAAa,uBAAwB,SAAQ,uBAAuB;IAChE,OAAO,CAAC,YAAY,CAAS;IAE7B;;;;;;;;;;;;OAYG;gBACS,QAAQ,CAAC,EAAE,MAAM,EAAE,QAAQ,CAAC,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,YAAY,EAAE,IAAI,CAAC,EAAE,MAAM,EAC1E,QAAQ,CAAC,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,MAAM,EAAE,YAAY,CAAC,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE,MAAM,EACxE,UAAU,CAAC,EAAE,kBAAkB;IAM3C;;;;;;OAMG;aACQ,QAAQ,EAAI,MAAM;CAGhC","file":"IntentRecognitionResult.d.ts","sourcesContent":["// Copyright (c) Microsoft Corporation. All rights reserved.\n// Licensed under the MIT license.\n\nimport { PropertyCollection, ResultReason, SpeechRecognitionResult } from \"./Exports\";\n\n/**\n * Intent recognition result.\n * @class\n */\nexport class IntentRecognitionResult extends SpeechRecognitionResult {\n private privIntentId: string;\n\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 errorDetails - Error details, if provided.\n * @param json - Additional Json, if provided.\n * @param properties - Additional properties, if provided.\n */\n constructor(intentId?: string, resultId?: string, reason?: ResultReason, text?: string,\n duration?: number, offset?: number, errorDetails?: string, json?: string,\n properties?: PropertyCollection) {\n super(resultId, reason, text, duration, offset, errorDetails, json, properties);\n\n this.privIntentId = intentId;\n }\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 public get intentId(): string {\n return this.privIntentId;\n }\n}\n"]}