public final class TextDocumentStatistics extends Object
TextAnalyticsRequestOptions.isIncludeStatistics() is set to true this class will will contain
information about the document payload.| Constructor and Description |
|---|
TextDocumentStatistics(int characterCount,
int transactionCount)
Creates a
TextDocumentStatistics model that describes the statistics of text document. |
| Modifier and Type | Method and Description |
|---|---|
int |
getCharacterCount()
Get the
characterCount property: Number of text elements recognized in the document. |
int |
getTransactionCount()
Get the
transactionsCount property: Number of transactions for the document. |
public TextDocumentStatistics(int characterCount,
int transactionCount)
TextDocumentStatistics model that describes the statistics of text document.characterCount - The number of text elements recognized in the document.transactionCount - The number of transactions for the document.public int getCharacterCount()
characterCount property: Number of text elements recognized in the document.characterCount value.public int getTransactionCount()
transactionsCount property: Number of transactions for the document.transactionsCount value.Visit the Azure for Java Developers site for more Java documentation, including quick starts, tutorials, and code samples.