TextAnalyticsResult Class
- java.
lang. Object - com.
azure. ai. textanalytics. models. TextAnalyticsResult
- com.
public class TextAnalyticsResult
The TextAnalyticsResult
model.
Method Summary
Modifier and Type | Method and Description |
---|---|
Text |
getError()
Get the error of text document. |
String |
getId()
Get the document id. |
Text |
getStatistics()
Get the statistics of the text document. |
boolean |
isError()
Get the boolean value indicates if the document result is error or not. |
Methods inherited from java.lang.Object
Method Details
getError
public TextAnalyticsError getError()
Get the error of text document.
Returns:
getId
public String getId()
Get the document id.
Returns:
getStatistics
public TextDocumentStatistics getStatistics()
Get the statistics of the text document.
Returns:
isError
public boolean isError()
Get the boolean value indicates if the document result is error or not.
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