Class
ReaderHeuristicTokenCounter
OfficeIMO.Reader
Dependency-free token estimate using approximately four characters per token.
Inheritance
- object
- ReaderHeuristicTokenCounter
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
- Property ReaderHeuristicTokenCounter.Instance
Methods
public int CountTokens(string text) #Counts tokens in the supplied text.
Parameters
- text string
Returns
int