NoMatchDetails Class
- java.
lang. Object - com.
microsoft. cognitiveservices. speech. NoMatchDetails
- com.
public class NoMatchDetails
Contains detailed information for NoMatch recognition results.
Method Summary
Modifier and Type | Method and Description |
---|---|
void |
close()
Explicitly frees any external resource attached to the object |
static
No |
fromResult(RecognitionResult result)
Creates an instance of No |
No |
getReason()
The reason why No |
java.lang.String |
toString()
Returns a String that represents the no match details. |
Methods inherited from java.lang.Object
Method Details
close
public void close()
Explicitly frees any external resource attached to the object
fromResult
public static NoMatchDetails fromResult(RecognitionResult result)
Creates an instance of NoMatchDetails object for the NoMatch SpeechRecognitionResults.
Parameters:
Returns:
getReason
public NoMatchReason getReason()
The reason why NoMatch is returned.
Returns:
toString
public String toString()
Returns a String that represents the no match details.
Overrides:
NoMatchDetails.toString()Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for