Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Interface

IReaderTokenCounter

OfficeIMO.Reader

Namespace
OfficeIMO.Reader
Assembly
OfficeIMO.Reader.Core
Source revision
90fbca630045 with working tree changes
Modifiers
abstract

Counts tokens for deterministic chunk budgeting.

Remarks

Implementations used concurrently must be thread-safe. Counts must be deterministic and non-negative.

Usage

Explore 1 API references to this type

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Returned or exposed by 1

Methods

public abstract int CountTokens(string text) #

Counts tokens in the supplied text.

Parameters

text string required

Returns

int

Properties

public abstract string Id { get; } #

Stable counter identifier retained in chunking evidence.