API Reference

Class

ReaderHeuristicTokenCounter

Namespace OfficeIMO.Reader
Assembly OfficeIMO.Reader
Modifiers sealed

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

Methods

public virtual Int32 CountTokens(String text) #
Returns: Int32

Parameters

text System.String requiredposition: 0

Properties

public static ReaderHeuristicTokenCounter Instance { get; } #

Shared stateless instance.

public virtual String Id { get; } #