@hahnpro/ms-speech-sdk
Version:
Microsoft Cognitive Services Speech SDK for JavaScript
1 lines • 5.74 kB
Source Map (JSON)
{"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;;;;OAIG;IACH,iBAAiB,IAAA;IAEjB;;;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,KAAA;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;IAEnB;;;OAGG;IACH,mBAAmB,KAAA;IAEnB;;;;OAIG;IACH,4BAA4B,KAAA;IAE5B;;;;;OAKG;IACH,2BAA2B,KAAA;IAE3B;;;;;OAKG;IACH,wBAAwB,KAAA;IAExB;;;;OAIG;IACH,mCAAmC,KAAA;CACtC","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 speech result contains a finalized acceptance of a provided keyword.\n * Speech recognition will continue unless otherwise configured.\n * @member ResultReason.RecognizedKeyword\n */\n RecognizedKeyword,\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 /**\n * Indicates synthesis voices list has been successfully retrieved.\n * @member ResultReason.VoicesListRetrieved\n */\n VoicesListRetrieved,\n\n /**\n * Indicates the transcription result contains hypothesis text and its translation(s) for\n * other participants in the conversation.\n * @member ResultReason.TranslatingParticipantSpeech\n */\n TranslatingParticipantSpeech,\n\n /**\n * Indicates the transcription result contains final text and corresponding translation(s)\n * for other participants in the conversation. Speech Recognition and Translation are now\n * complete for this phrase.\n * @member ResultReason.TranslatedParticipantSpeech\n */\n TranslatedParticipantSpeech,\n\n /**\n * <summary>\n * Indicates the transcription result contains the instant message and corresponding\n * translation(s).\n * @member ResultReason.TranslatedInstantMessage\n */\n TranslatedInstantMessage,\n\n /**\n * Indicates the transcription result contains the instant message for other participants\n * in the conversation and corresponding translation(s).\n * @member ResultReason.TranslatedParticipantInstantMessage\n */\n TranslatedParticipantInstantMessage,\n}\n"]}