API Reference
Class
ReaderHeuristicTokenCounter
Dependency-free token estimate using approximately four characters per token.
Inheritance
- Object
- ReaderHeuristicTokenCounter
Usage
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by
- Property ReaderHeuristicTokenCounter.Instance
Methods
public Int32 CountTokens(String text) #Returns:
Int32Counts tokens in the supplied text.
Parameters
- text System.String