ef9d1686524412c31751615cd3d419cb6fa119b3020ef73e8f6a0360d4d764c4.json 22 KB

1
  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.VoiceProfileClient = void 0;\nconst Exports_js_1 = require(\"../common.speech/Exports.js\");\nconst AudioConfig_js_1 = require(\"./Audio/AudioConfig.js\");\nconst Contracts_js_1 = require(\"./Contracts.js\");\nconst Exports_js_2 = require(\"./Exports.js\");\n/**\n * Defines VoiceProfileClient class for Speaker Recognition\n * Handles operations from user for Voice Profile operations (e.g. createProfile, deleteProfile)\n * @class VoiceProfileClient\n */\nclass VoiceProfileClient extends Exports_js_2.Recognizer {\n /**\n * VoiceProfileClient constructor.\n * @constructor\n * @param {SpeechConfig} speechConfig - An set of initial properties for this synthesizer (authentication key, region, &c)\n */\n constructor(speechConfig) {\n Contracts_js_1.Contracts.throwIfNullOrUndefined(speechConfig, \"speechConfig\");\n const speechConfigImpl = speechConfig;\n Contracts_js_1.Contracts.throwIfNull(speechConfigImpl, \"speechConfig\");\n super(AudioConfig_js_1.AudioConfig.fromStreamInput(Exports_js_2.AudioInputStream.createPushStream()), speechConfigImpl.properties, new Exports_js_1.VoiceProfileConnectionFactory());\n this.privProperties = speechConfigImpl.properties.clone();\n this.privVoiceAdapter = this.privReco;\n this.privDisposedVoiceAdapter = false;\n }\n /**\n * The collection of properties and their values defined for this VoiceProfileClient.\n * @member VoiceProfileClient.prototype.properties\n * @function\n * @public\n * @returns {PropertyCollection} The collection of properties and their values defined for this VoiceProfileClient.\n */\n get properties() {\n return this.privProperties;\n }\n /**\n * Gets the authorization token used to communicate with the service.\n * @member VoiceProfileClient.prototype.authorizationToken\n * @function\n * @public\n * @returns {string} Authorization token.\n */\n get authorizationToken() {\n return this.properties.getProperty(Exports_js_2.PropertyId.SpeechServiceAuthorization_Token);\n }\n /**\n * Gets/Sets the authorization token used to communicate with the service.\n * @member VoiceProfileClient.prototype.authorizationToken\n * @function\n * @public\n * @param {string} token - Authorization token.\n */\n set authorizationToken(token) {\n Contracts_js_1.Contracts.throwIfNullOrWhitespace(token, \"token\");\n this.properties.setProperty(Exports_js_2.PropertyId.SpeechServiceAuthorization_Token, token);\n }\n /**\n * Create a speaker recognition voice profile\n * @member VoiceProfileClient.prototype.createProfileAsync\n * @function\n * @public\n * @async\n * @param {VoiceProfileType} profileType Type of Voice Profile to be created\n * @param {string} lang Language string (locale) for Voice Profile\n * @return {Promise<VoiceProfile>} - Promise of a VoiceProfile.\n */\n createProfileAsync(profileType, lang) {\n var _this = this;\n return _asyncToGenerator(function* () {\n const profileIds = yield _this.privVoiceAdapter.createProfile(profileType, lang);\n return new Exports_js_2.VoiceProfile(profileIds[0], profileType);\n })();\n }\n /**\n * Get current information of a voice profile\n * @member VoiceProfileClient.prototype.retrieveEnrollmentResultAsync\n * @function\n * @public\n * @async\n * @param {VoiceProfile} profile Voice Profile to retrieve info for\n * @return {Promise<VoiceProfileEnrollmentResult>} - Promise of a VoiceProfileEnrollmentResult.\n */\n retrieveEnrollmentResultAsync(profile) {\n var _this2 = this;\n return _asyncToGenerator(function* () {\n return _this2.privVoiceAdapter.retrieveEnrollmentResult(profile);\n })();\n }\n /**\n * Get all voice profiles on account with given voice profile type\n * @member VoiceProfileClient.prototype.getAllProfilesAsync\n * @function\n * @public\n * @async\n * @param {VoiceProfileType} profileType profile type (identification/verification) for which to list profiles\n * @return {Promise<VoiceProfileEnrollmentResult[]>} - Promise of an array of VoiceProfileEnrollmentResults.\n */\n getAllProfilesAsync(profileType) {\n var _this3 = this;\n return _asyncToGenerator(function* () {\n return _this3.privVoiceAdapter.getAllProfiles(profileType);\n /*\n const result: { json: { value: EnrollmentResultJSON[] } } = await this.privAdapter.getProfiles(profileType);\n if (profileType === VoiceProfileType.TextIndependentIdentification) {\n return VoiceProfileEnrollmentResult.FromIdentificationProfileList(result.json);\n }\n return VoiceProfileEnrollmentResult.FromVerificationProfileList(result.json);\n */\n })();\n }\n /**\n * Get valid authorization phrases for voice profile enrollment\n * @member VoiceProfileClient.prototype.getActivationPhrasesAsync\n * @function\n * @public\n * @async\n * @param {VoiceProfileType} profileType Profile Type to get activation phrases for\n * @param {string} lang Language string (locale) for Voice Profile\n */\n getActivationPhrasesAsync(profileType, lang) {\n var _this4 = this;\n return _asyncToGenerator(function* () {\n return _this4.privVoiceAdapter.getActivationPhrases(profileType, lang);\n })();\n }\n /**\n * Create a speaker recognition voice profile\n * @member VoiceProfileClient.prototype.enrollProfileAsync\n * @function\n * @public\n * @async\n * @param {VoiceProfile} profile Voice Profile to create enrollment for\n * @param {AudioConfig} audioConfig source info from which to create enrollment\n * @return {Promise<VoiceProfileEnrollmentResult>} - Promise of a VoiceProfileEnrollmentResult.\n */\n enrollProfileAsync(profile, audioConfig) {\n var _this5 = this;\n return _asyncToGenerator(function* () {\n const configImpl = audioConfig;\n Contracts_js_1.Contracts.throwIfNullOrUndefined(configImpl, \"audioConfig\");\n _this5.audioConfig = audioConfig;\n _this5.privVoiceAdapter.SpeakerAudioSource = configImpl;\n return _this5.privVoiceAdapter.enrollProfile(profile);\n })();\n }\n /**\n * Delete a speaker recognition voice profile\n * @member VoiceProfileClient.prototype.deleteProfileAsync\n * @function\n * @public\n * @async\n * @param {VoiceProfile} profile Voice Profile to be deleted\n * @return {Promise<VoiceProfileResult>} - Promise of a VoiceProfileResult.\n */\n deleteProfileAsync(profile) {\n var _this6 = this;\n return _asyncToGenerator(function* () {\n return _this6.privVoiceAdapter.deleteProfile(profile);\n })();\n }\n /**\n * Remove all enrollments for a speaker recognition voice profile\n * @member VoiceProfileClient.prototype.resetProfileAsync\n * @function\n * @public\n * @async\n * @param {VoiceProfile} profile Voice Profile to be reset\n * @return {Promise<VoiceProfileResult>} - Promise of a VoiceProfileResult.\n */\n resetProfileAsync(profile) {\n var _this7 = this;\n return _asyncToGenerator(function* () {\n return _this7.privVoiceAdapter.resetProfile(profile);\n })();\n }\n /**\n * Clean up object and close underlying connection\n * @member VoiceProfileClient.prototype.close\n * @function\n * @async\n * @public\n */\n close() {\n var _this8 = this;\n return _asyncToGenerator(function* () {\n yield _this8.dispose(true);\n })();\n }\n createServiceRecognizer(authentication, connectionFactory, audioConfig, recognizerConfig) {\n const audioImpl = audioConfig;\n return new Exports_js_1.VoiceServiceRecognizer(authentication, connectionFactory, audioImpl, recognizerConfig, this);\n }\n dispose(disposing) {\n var _superprop_getDispose = () => super.dispose,\n _this9 = this;\n return _asyncToGenerator(function* () {\n if (_this9.privDisposedVoiceAdapter) {\n return;\n }\n _this9.privDisposedVoiceAdapter = true;\n if (disposing) {\n yield _superprop_getDispose().call(_this9, disposing);\n }\n })();\n }\n createRecognizerConfig(speechConfig) {\n return new Exports_js_1.RecognizerConfig(speechConfig, this.properties);\n }\n getResult(result, successReason) {\n const response = new Exports_js_2.VoiceProfileResult(result.ok ? successReason : Exports_js_2.ResultReason.Canceled, result.statusText);\n return response;\n }\n}\nexports.VoiceProfileClient = VoiceProfileClient;","map":{"version":3,"names":["_asyncToGenerator","require","default","Object","defineProperty","exports","value","VoiceProfileClient","Exports_js_1","AudioConfig_js_1","Contracts_js_1","Exports_js_2","Recognizer","constructor","speechConfig","Contracts","throwIfNullOrUndefined","speechConfigImpl","throwIfNull","AudioConfig","fromStreamInput","AudioInputStream","createPushStream","properties","VoiceProfileConnectionFactory","privProperties","clone","privVoiceAdapter","privReco","privDisposedVoiceAdapter","authorizationToken","getProperty","PropertyId","SpeechServiceAuthorization_Token","token","throwIfNullOrWhitespace","setProperty","createProfileAsync","profileType","lang","_this","profileIds","createProfile","VoiceProfile","retrieveEnrollmentResultAsync","profile","_this2","retrieveEnrollmentResult","getAllProfilesAsync","_this3","getAllProfiles","getActivationPhrasesAsync","_this4","getActivationPhrases","enrollProfileAsync","audioConfig","_this5","configImpl","SpeakerAudioSource","enrollProfile","deleteProfileAsync","_this6","deleteProfile","resetProfileAsync","_this7","resetProfile","close","_this8","dispose","createServiceRecognizer","authentication","connectionFactory","recognizerConfig","audioImpl","VoiceServiceRecognizer","disposing","_superprop_getDispose","_this9","call","createRecognizerConfig","RecognizerConfig","getResult","result","successReason","response","VoiceProfileResult","ok","ResultReason","Canceled","statusText"],"sources":["F:/workspace/202226701027/huinongbao-app/node_modules/microsoft-cognitiveservices-speech-sdk/distrib/lib/src/sdk/VoiceProfileClient.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.VoiceProfileClient = void 0;\nconst Exports_js_1 = require(\"../common.speech/Exports.js\");\nconst AudioConfig_js_1 = require(\"./Audio/AudioConfig.js\");\nconst Contracts_js_1 = require(\"./Contracts.js\");\nconst Exports_js_2 = require(\"./Exports.js\");\n/**\n * Defines VoiceProfileClient class for Speaker Recognition\n * Handles operations from user for Voice Profile operations (e.g. createProfile, deleteProfile)\n * @class VoiceProfileClient\n */\nclass VoiceProfileClient extends Exports_js_2.Recognizer {\n /**\n * VoiceProfileClient constructor.\n * @constructor\n * @param {SpeechConfig} speechConfig - An set of initial properties for this synthesizer (authentication key, region, &c)\n */\n constructor(speechConfig) {\n Contracts_js_1.Contracts.throwIfNullOrUndefined(speechConfig, \"speechConfig\");\n const speechConfigImpl = speechConfig;\n Contracts_js_1.Contracts.throwIfNull(speechConfigImpl, \"speechConfig\");\n super(AudioConfig_js_1.AudioConfig.fromStreamInput(Exports_js_2.AudioInputStream.createPushStream()), speechConfigImpl.properties, new Exports_js_1.VoiceProfileConnectionFactory());\n this.privProperties = speechConfigImpl.properties.clone();\n this.privVoiceAdapter = this.privReco;\n this.privDisposedVoiceAdapter = false;\n }\n /**\n * The collection of properties and their values defined for this VoiceProfileClient.\n * @member VoiceProfileClient.prototype.properties\n * @function\n * @public\n * @returns {PropertyCollection} The collection of properties and their values defined for this VoiceProfileClient.\n */\n get properties() {\n return this.privProperties;\n }\n /**\n * Gets the authorization token used to communicate with the service.\n * @member VoiceProfileClient.prototype.authorizationToken\n * @function\n * @public\n * @returns {string} Authorization token.\n */\n get authorizationToken() {\n return this.properties.getProperty(Exports_js_2.PropertyId.SpeechServiceAuthorization_Token);\n }\n /**\n * Gets/Sets the authorization token used to communicate with the service.\n * @member VoiceProfileClient.prototype.authorizationToken\n * @function\n * @public\n * @param {string} token - Authorization token.\n */\n set authorizationToken(token) {\n Contracts_js_1.Contracts.throwIfNullOrWhitespace(token, \"token\");\n this.properties.setProperty(Exports_js_2.PropertyId.SpeechServiceAuthorization_Token, token);\n }\n /**\n * Create a speaker recognition voice profile\n * @member VoiceProfileClient.prototype.createProfileAsync\n * @function\n * @public\n * @async\n * @param {VoiceProfileType} profileType Type of Voice Profile to be created\n * @param {string} lang Language string (locale) for Voice Profile\n * @return {Promise<VoiceProfile>} - Promise of a VoiceProfile.\n */\n async createProfileAsync(profileType, lang) {\n const profileIds = await this.privVoiceAdapter.createProfile(profileType, lang);\n return new Exports_js_2.VoiceProfile(profileIds[0], profileType);\n }\n /**\n * Get current information of a voice profile\n * @member VoiceProfileClient.prototype.retrieveEnrollmentResultAsync\n * @function\n * @public\n * @async\n * @param {VoiceProfile} profile Voice Profile to retrieve info for\n * @return {Promise<VoiceProfileEnrollmentResult>} - Promise of a VoiceProfileEnrollmentResult.\n */\n async retrieveEnrollmentResultAsync(profile) {\n return this.privVoiceAdapter.retrieveEnrollmentResult(profile);\n }\n /**\n * Get all voice profiles on account with given voice profile type\n * @member VoiceProfileClient.prototype.getAllProfilesAsync\n * @function\n * @public\n * @async\n * @param {VoiceProfileType} profileType profile type (identification/verification) for which to list profiles\n * @return {Promise<VoiceProfileEnrollmentResult[]>} - Promise of an array of VoiceProfileEnrollmentResults.\n */\n async getAllProfilesAsync(profileType) {\n return this.privVoiceAdapter.getAllProfiles(profileType);\n /*\n const result: { json: { value: EnrollmentResultJSON[] } } = await this.privAdapter.getProfiles(profileType);\n if (profileType === VoiceProfileType.TextIndependentIdentification) {\n return VoiceProfileEnrollmentResult.FromIdentificationProfileList(result.json);\n }\n return VoiceProfileEnrollmentResult.FromVerificationProfileList(result.json);\n */\n }\n /**\n * Get valid authorization phrases for voice profile enrollment\n * @member VoiceProfileClient.prototype.getActivationPhrasesAsync\n * @function\n * @public\n * @async\n * @param {VoiceProfileType} profileType Profile Type to get activation phrases for\n * @param {string} lang Language string (locale) for Voice Profile\n */\n async getActivationPhrasesAsync(profileType, lang) {\n return this.privVoiceAdapter.getActivationPhrases(profileType, lang);\n }\n /**\n * Create a speaker recognition voice profile\n * @member VoiceProfileClient.prototype.enrollProfileAsync\n * @function\n * @public\n * @async\n * @param {VoiceProfile} profile Voice Profile to create enrollment for\n * @param {AudioConfig} audioConfig source info from which to create enrollment\n * @return {Promise<VoiceProfileEnrollmentResult>} - Promise of a VoiceProfileEnrollmentResult.\n */\n async enrollProfileAsync(profile, audioConfig) {\n const configImpl = audioConfig;\n Contracts_js_1.Contracts.throwIfNullOrUndefined(configImpl, \"audioConfig\");\n this.audioConfig = audioConfig;\n this.privVoiceAdapter.SpeakerAudioSource = configImpl;\n return this.privVoiceAdapter.enrollProfile(profile);\n }\n /**\n * Delete a speaker recognition voice profile\n * @member VoiceProfileClient.prototype.deleteProfileAsync\n * @function\n * @public\n * @async\n * @param {VoiceProfile} profile Voice Profile to be deleted\n * @return {Promise<VoiceProfileResult>} - Promise of a VoiceProfileResult.\n */\n async deleteProfileAsync(profile) {\n return this.privVoiceAdapter.deleteProfile(profile);\n }\n /**\n * Remove all enrollments for a speaker recognition voice profile\n * @member VoiceProfileClient.prototype.resetProfileAsync\n * @function\n * @public\n * @async\n * @param {VoiceProfile} profile Voice Profile to be reset\n * @return {Promise<VoiceProfileResult>} - Promise of a VoiceProfileResult.\n */\n async resetProfileAsync(profile) {\n return this.privVoiceAdapter.resetProfile(profile);\n }\n /**\n * Clean up object and close underlying connection\n * @member VoiceProfileClient.prototype.close\n * @function\n * @async\n * @public\n */\n async close() {\n await this.dispose(true);\n }\n createServiceRecognizer(authentication, connectionFactory, audioConfig, recognizerConfig) {\n const audioImpl = audioConfig;\n return new Exports_js_1.VoiceServiceRecognizer(authentication, connectionFactory, audioImpl, recognizerConfig, this);\n }\n async dispose(disposing) {\n if (this.privDisposedVoiceAdapter) {\n return;\n }\n this.privDisposedVoiceAdapter = true;\n if (disposing) {\n await super.dispose(disposing);\n }\n }\n createRecognizerConfig(speechConfig) {\n return new Exports_js_1.RecognizerConfig(speechConfig, this.properties);\n }\n getResult(result, successReason) {\n const response = new Exports_js_2.VoiceProfileResult(result.ok ? successReason : Exports_js_2.ResultReason.Canceled, result.statusText);\n return (response);\n }\n}\nexports.VoiceProfileClient = VoiceProfileClient;\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,kBAAkB,GAAG,KAAK,CAAC;AACnC,MAAMC,YAAY,GAAGP,OAAO,CAAC,6BAA6B,CAAC;AAC3D,MAAMQ,gBAAgB,GAAGR,OAAO,CAAC,wBAAwB,CAAC;AAC1D,MAAMS,cAAc,GAAGT,OAAO,CAAC,gBAAgB,CAAC;AAChD,MAAMU,YAAY,GAAGV,OAAO,CAAC,cAAc,CAAC;AAC5C;AACA;AACA;AACA;AACA;AACA,MAAMM,kBAAkB,SAASI,YAAY,CAACC,UAAU,CAAC;EACrD;AACJ;AACA;AACA;AACA;EACIC,WAAWA,CAACC,YAAY,EAAE;IACtBJ,cAAc,CAACK,SAAS,CAACC,sBAAsB,CAACF,YAAY,EAAE,cAAc,CAAC;IAC7E,MAAMG,gBAAgB,GAAGH,YAAY;IACrCJ,cAAc,CAACK,SAAS,CAACG,WAAW,CAACD,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