microsoft-cognitiveservices-speech-sdk
Version:
Microsoft Cognitive Services Speech SDK for JavaScript
32 lines (30 loc) • 1.24 kB
JavaScript
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT license.
Object.defineProperty(exports, "__esModule", { value: true });
exports.NoMatchReason = void 0;
/**
* Defines the possible reasons a recognition result might not be recognized.
* @class NoMatchReason
*/
var NoMatchReason;
(function (NoMatchReason) {
/**
* Indicates that speech was detected, but not recognized.
* @member NoMatchReason.NotRecognized
*/
NoMatchReason[NoMatchReason["NotRecognized"] = 0] = "NotRecognized";
/**
* Indicates that the start of the audio stream contained only silence,
* and the service timed out waiting for speech.
* @member NoMatchReason.InitialSilenceTimeout
*/
NoMatchReason[NoMatchReason["InitialSilenceTimeout"] = 1] = "InitialSilenceTimeout";
/**
* Indicates that the start of the audio stream contained only noise,
* and the service timed out waiting for speech.
* @member NoMatchReason.InitialBabbleTimeout
*/
NoMatchReason[NoMatchReason["InitialBabbleTimeout"] = 2] = "InitialBabbleTimeout";
})(NoMatchReason = exports.NoMatchReason || (exports.NoMatchReason = {}));
//# sourceMappingURL=NoMatchReason.js.map
;