Class TextAnalyticsResult
java.lang.Object
com.azure.ai.textanalytics.models.TextAnalyticsResult
- Direct Known Subclasses:
AnalyzeHealthcareEntitiesResult
,AnalyzeSentimentResult
,DetectLanguageResult
,ExtractKeyPhraseResult
,ExtractSummaryResult
,MultiCategoryClassifyResult
,RecognizeEntitiesResult
,RecognizeLinkedEntitiesResult
,RecognizePiiEntitiesResult
,SingleCategoryClassifyResult
The
TextAnalyticsResult
model.-
Method Details
-
getId
Get the document id.- Returns:
- The document id.
-
getStatistics
Get the statistics of the text document.- Returns:
- The
TextDocumentStatistics
statistics of the text document. - Throws:
TextAnalyticsException
- if result hasisError
equals 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.
-