Interface
IReaderTokenCounter
OfficeIMO.Reader
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
Returns
intProperties
public abstract string Id { get; } #Stable counter identifier retained in chunking evidence.