Share via


TextAnalyticsModelFactory.TextDocumentStatistics(Int32, Int32) Method

Definition

Initializes a new instance of TextDocumentStatistics for mocking purposes.

public static Azure.AI.TextAnalytics.TextDocumentStatistics TextDocumentStatistics (int characterCount, int transactionCount);
static member TextDocumentStatistics : int * int -> Azure.AI.TextAnalytics.TextDocumentStatistics
Public Shared Function TextDocumentStatistics (characterCount As Integer, transactionCount As Integer) As TextDocumentStatistics

Parameters

characterCount
Int32

Sets the CharacterCount property.

transactionCount
Int32

Sets the TransactionCount property.

Returns

A new instance of TextDocumentStatistics for mocking purposes.

Applies to