UNPKG

@voice-ping/cognitive-services-speech

Version:

VoicePing Cognitive Services Speech SDK for JavaScript forked from Microsoft

1 lines 4.02 kB
{"version":3,"sources":["src/sdk/ResultReason.ts"],"names":[],"mappings":"AAGA;;;GAGG;AACH,oBAAY,YAAY;IACpB;;;;OAIG;IACH,OAAO,IAAA;IAEP;;;;OAIG;IACH,QAAQ,IAAA;IAER;;;OAGG;IACH,iBAAiB,IAAA;IAEjB;;;;OAIG;IACH,gBAAgB,IAAA;IAEhB;;;OAGG;IACH,iBAAiB,IAAA;IAEjB;;;;OAIG;IACH,gBAAgB,IAAA;IAEhB;;;OAGG;IACH,iBAAiB,IAAA;IAEjB;;;;OAIG;IACH,gBAAgB,IAAA;IAEhB;;;OAGG;IACH,iBAAiB,IAAA;IAEjB;;;OAGG;IACH,0BAA0B,IAAA;IAE1B;;;OAGG;IACH,wBAAwB,KAAA;IAExB;;;OAGG;IACH,qBAAqB,KAAA;IAErB;;;OAGG;IACH,oBAAoB,KAAA;IAEpB;;;OAGG;IACH,kBAAkB,KAAA;IAElB;;;OAGG;IACH,iBAAiB,KAAA;IAEjB;;;OAGG;IACH,iBAAiB,KAAA;IAEjB;;;OAGG;IACH,mBAAmB,KAAA;CACtB","file":"ResultReason.d.ts","sourcesContent":["// Copyright (c) Microsoft Corporation. All rights reserved.\n// Licensed under the MIT license.\n\n/**\n * Defines the possible reasons a recognition result might be generated.\n * @class ResultReason\n */\nexport enum ResultReason {\n /**\n * Indicates speech could not be recognized. More details\n * can be found in the NoMatchDetails object.\n * @member ResultReason.NoMatch\n */\n NoMatch,\n\n /**\n * Indicates that the recognition was canceled. More details\n * can be found using the CancellationDetails object.\n * @member ResultReason.Canceled\n */\n Canceled,\n\n /**\n * Indicates the speech result contains hypothesis text.\n * @member ResultReason.RecognizedSpeech\n */\n RecognizingSpeech,\n\n /**\n * Indicates the speech result contains final text that has been recognized.\n * Speech Recognition is now complete for this phrase.\n * @member ResultReason.RecognizedSpeech\n */\n RecognizedSpeech,\n\n /**\n * Indicates the intent result contains hypothesis text and intent.\n * @member ResultReason.RecognizingIntent\n */\n RecognizingIntent,\n\n /**\n * Indicates the intent result contains final text and intent.\n * Speech Recognition and Intent determination are now complete for this phrase.\n * @member ResultReason.RecognizedIntent\n */\n RecognizedIntent,\n\n /**\n * Indicates the translation result contains hypothesis text and its translation(s).\n * @member ResultReason.TranslatingSpeech\n */\n TranslatingSpeech,\n\n /**\n * Indicates the translation result contains final text and corresponding translation(s).\n * Speech Recognition and Translation are now complete for this phrase.\n * @member ResultReason.TranslatedSpeech\n */\n TranslatedSpeech,\n\n /**\n * Indicates the synthesized audio result contains a non-zero amount of audio data\n * @member ResultReason.SynthesizingAudio\n */\n SynthesizingAudio,\n\n /**\n * Indicates the synthesized audio is now complete for this phrase.\n * @member ResultReason.SynthesizingAudioCompleted\n */\n SynthesizingAudioCompleted,\n\n /**\n * Indicates the speech synthesis is now started\n * @member ResultReason.SynthesizingAudioStarted\n */\n SynthesizingAudioStarted,\n\n /**\n * Indicates the voice profile is being enrolled and customers need to send more audio to create a voice profile.\n * @member ResultReason.EnrollingVoiceProfile\n */\n EnrollingVoiceProfile,\n\n /**\n * Indicates the voice profile has been enrolled.\n * @member ResultReason.EnrolledVoiceProfile\n */\n EnrolledVoiceProfile,\n\n /**\n * Indicates successful identification of some speakers.\n * @member ResultReason.RecognizedSpeakers\n */\n RecognizedSpeakers,\n\n /**\n * Indicates successfully verified one speaker.\n * @member ResultReason.RecognizedSpeaker\n */\n RecognizedSpeaker,\n\n /**\n * Indicates a voice profile has been reset successfully.\n * @member ResultReason.ResetVoiceProfile\n */\n ResetVoiceProfile,\n\n /**\n * Indicates a voice profile has been deleted successfully.\n * @member ResultReason.DeletedVoiceProfile\n */\n DeletedVoiceProfile,\n}\n"]}