Compartilhar via


TextAnalysisModelFactory.DocumentStatistics(Int32, Int32) Method

Definition

Initializes a new instance of DocumentStatistics.

public static Azure.AI.Language.Text.DocumentStatistics DocumentStatistics (int charactersCount = 0, int transactionsCount = 0);
static member DocumentStatistics : int * int -> Azure.AI.Language.Text.DocumentStatistics
Public Shared Function DocumentStatistics (Optional charactersCount As Integer = 0, Optional transactionsCount As Integer = 0) As DocumentStatistics

Parameters

charactersCount
Int32

Number of text elements recognized in the document.

transactionsCount
Int32

Number of transactions for the document.

Returns

A new DocumentStatistics instance for mocking.

Applies to