Class TextAnalyticsResult
java.lang.Object
com.azure.ai.textanalytics.models.TextAnalyticsResult
- Direct Known Subclasses:
AbstractiveSummaryResult,AnalyzeHealthcareEntitiesResult,AnalyzeSentimentResult,ClassifyDocumentResult,DetectLanguageResult,ExtractiveSummaryResult,ExtractKeyPhraseResult,RecognizeEntitiesResult,RecognizeLinkedEntitiesResult,RecognizePiiEntitiesResult
The
TextAnalyticsResult model.-
Method Details
-
getId
Get the document id.- Returns:
- The document id.
-
getStatistics
Get the statistics of the text document.- Returns:
- The
TextDocumentStatisticsstatistics of the text document. - Throws:
TextAnalyticsException- if result hasisErrorequals to true and when a non-error property was accessed.
-
getError
Get the error of text document.- Returns:
- The error of text document.
-
isError
public boolean isError()Get the boolean value indicates if the document result is error or not.- Returns:
- A boolean indicates if the document result is error or not.
-