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
Обратная связь
https://aka.ms/ContentUserFeedback.
Ожидается в ближайшее время: в течение 2024 года мы постепенно откажемся от GitHub Issues как механизма обратной связи для контента и заменим его новой системой обратной связи. Дополнительные сведения см. в разделеОтправить и просмотреть отзыв по