TextAnalyticsResult Class

  • java.lang.Object
    • com.azure.ai.textanalytics.models.TextAnalyticsResult

public class TextAnalyticsResult

The TextAnalyticsResult model.

Method Summary

Modifier and Type Method and Description
TextAnalyticsError getError()

Get the error of text document.

String getId()

Get the document id.

TextDocumentStatistics 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:

The error of text document.

getId

public String getId()

Get the document id.

Returns:

The document id.

getStatistics

public TextDocumentStatistics getStatistics()

Get the statistics of the text document.

Returns:

The TextDocumentStatistics statistics of the 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.

Applies to