TextChunker.TokenCounter Delegate

Definition

Delegate for counting tokens in a string.

public delegate int TextChunker.TokenCounter(string input);
type TextChunker.TokenCounter = delegate of string -> int
Public Delegate Function TextChunker.TokenCounter(input As String) As Integer 

Parameters

input
String

The input string to count tokens in.

Return Value

The number of tokens in the input string.

Applies to