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
Váš názor
https://aka.ms/ContentUserFeedback.
Připravujeme: V průběhu roku 2024 budeme postupně vyřazovat problémy z GitHub coby mechanismus zpětné vazby pro obsah a nahrazovat ho novým systémem zpětné vazby. Další informace naleznete v tématu:Odeslat a zobrazit názory pro