Partilhar via


NoMatchReason Enum

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

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

Defines the possible reasons a recognition result might not be recognized.

Fields

EndSilenceTimeout

Indicates that the audio stream contained only silence after the last recognized phrase.

InitialBabbleTimeout

Indicates that the start of the audio stream contained only noise, and the service timed out waiting for speech.

InitialSilenceTimeout

Indicates that the start of the audio stream contained only silence, and the service timed out waiting for speech.

KeywordNotRecognized

Indicates that the spotted keyword has been rejected by the keyword verification service.

NotRecognized

Indicates that speech was detected, but not recognized.

Methods inherited from java.lang.Enum

java.lang.Enum.<T>valueOf java.lang.Enum.clone java.lang.Enum.compareTo java.lang.Enum.describeConstable 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

getValue()

public int getValue()

Returns the internal value property id

Returns

int
the speech property id

valueOf(String name)

public static NoMatchReason valueOf(String name)

Parameters

name
java.lang.String

Returns

values()

public static NoMatchReason[] values()

Returns

Applies to