TextDocumentBatchStatistics Class

TextDocumentBatchStatistics contains information about the request payload. Note: This object is not returned in the response and needs to be retrieved by a response hook.

Inheritance
azure.ai.textanalytics._dict_mixin.DictMixin
TextDocumentBatchStatistics

Constructor

TextDocumentBatchStatistics(**kwargs: Any)

Methods

get
has_key
items
keys
update
values

get

get(key: str, default: Any | None = None) -> Any

Parameters

Name Description
key
Required
default
Default value: None

has_key

has_key(k: str) -> bool

Parameters

Name Description
k
Required

items

items() -> Iterable[Tuple[str, Any]]

keys

keys() -> Iterable[str]

update

update(*args: Any, **kwargs: Any) -> None

values

values() -> Iterable[Any]

Attributes

document_count

Number of documents submitted in the request

document_count: int

erroneous_document_count

Number of invalid documents. This includes empty, over-size limit or non-supported languages documents.

erroneous_document_count: int

transaction_count

Number of transactions for the request.

transaction_count: int

valid_document_count

Number of valid documents. This excludes empty, over-size limit or non-supported languages documents.

valid_document_count: int