UNPKG

@euirim/microsoft-cognitiveservices-speech-sdk

Version:
29 lines (27 loc) 1.11 kB
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT license. /** * Defines the possible reasons a recognition result might not be recognized. * @class NoMatchReason */ export 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 || (NoMatchReason = {})); //# sourceMappingURL=NoMatchReason.js.map