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
Commenti e suggerimenti
https://aka.ms/ContentUserFeedback.
Presto disponibile: Nel corso del 2024 verranno gradualmente disattivati i problemi di GitHub come meccanismo di feedback per il contenuto e ciò verrà sostituito con un nuovo sistema di feedback. Per altre informazioni, vedereInvia e visualizza il feedback per