ResultReason Enum

  • java.lang.Object
    • java.lang.Enum
      • com.microsoft.cognitiveservices.speech.ResultReason

public enum ResultReason
extends java.lang.Enum<ResultReason>

Defines the possible reasons a recognition result might be generated. Changed in version 1.7.0.

Fields

Canceled

Indicates that the recognition was canceled.

DeletedVoiceProfile

Indicates a voice profile has been deleted successfully.

EnrolledVoiceProfile

The voice profile has been enrolled.

EnrollingVoiceProfile

Indicates the voice profile is being enrolling and customers need to send more audio to create a voice profile.

NoMatch

Indicates speech could not be recognized.

RecognizedIntent

Indicates the intent result contains final text and intent.

RecognizedKeyword

Indicates that keyword recognition completed recognizing the given keyword.

RecognizedSpeaker

Indicates successfully verified one speaker.

RecognizedSpeakers

Indicates successful identification of some speakers.

RecognizedSpeech

Indicates the speech result contains final text that has been recognized.

RecognizingIntent

Indicates the intent result contains hypothesis text and intent.

RecognizingKeyword

Indicates the speech result contains (unverified) keyword text.

RecognizingSpeech

Indicates the speech result contains hypothesis text.

ResetVoiceProfile

Indicates a voice profile has been reset successfully.

SynthesizingAudio

Indicates the synthesized audio result contains a non-zero amount of audio data

SynthesizingAudioCompleted

Indicates the synthesized audio is now complete for this phrase.

SynthesizingAudioStarted

Indicates the speech synthesis is now started Added in version 1.7.0

TranslatedInstantMessage

Indicates the transcription result contains the instant message and corresponding translation(s).

TranslatedParticipantInstantMessage

Indicates the transcription result contains the instant message for other participants in the conversation and corresponding translation(s).

TranslatedParticipantSpeech

Indicates the transcription result contains final text and corresponding translation(s) for other participants in the conversation.

TranslatedSpeech

Indicates the translation result contains final text and corresponding translation(s).

TranslatingParticipantSpeech

Indicates the transcription result contains hypothesis text and its translation(s) for other participants in the conversation.

TranslatingSpeech

Indicates the translation result contains hypothesis text and its translation(s).

VoicesListRetrieved

Indicates the voices list has been retrieved successfully.

Methods inherited from java.lang.Enum

java.lang.Enum.<T>valueOf java.lang.Enum.clone java.lang.Enum.compareTo java.lang.Enum.equals java.lang.Enum.finalize java.lang.Enum.getDeclaringClass java.lang.Enum.hashCode java.lang.Enum.name java.lang.Enum.ordinal java.lang.Enum.toString

Methods inherited from java.lang.Object

java.lang.Object.getClass java.lang.Object.notify java.lang.Object.notifyAll java.lang.Object.wait java.lang.Object.wait java.lang.Object.wait

Methods

valueOf(String name)

public static ResultReason valueOf(String name)

Parameters

name
java.lang.String

Returns

values()

public static ResultReason[] values()

Returns

Applies to