UNPKG

@euirim/microsoft-cognitiveservices-speech-sdk

Version:
1 lines 2.67 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;CAC7B","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"]}