Compartilhar via


DocumentStatistics Class

Definition

if showStats=true was specified in the request this field will contain information about the document payload.

public class DocumentStatistics : System.ClientModel.Primitives.IJsonModel<Azure.AI.Language.Text.DocumentStatistics>, System.ClientModel.Primitives.IPersistableModel<Azure.AI.Language.Text.DocumentStatistics>
type DocumentStatistics = class
    interface IJsonModel<DocumentStatistics>
    interface IPersistableModel<DocumentStatistics>
Public Class DocumentStatistics
Implements IJsonModel(Of DocumentStatistics), IPersistableModel(Of DocumentStatistics)
Inheritance
DocumentStatistics
Implements

Properties

CharactersCount

Number of text elements recognized in the document.

TransactionsCount

Number of transactions for the document.

Explicit Interface Implementations

IJsonModel<DocumentStatistics>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<DocumentStatistics>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<DocumentStatistics>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<DocumentStatistics>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<DocumentStatistics>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to