Graphorin API reference v0.12.1
Graphorin API reference / @graphorin/memory / / HEURISTIC_TOKEN_COUNTER
Variable: HEURISTIC_TOKEN_COUNTER
ts
const HEURISTIC_TOKEN_COUNTER: ContextTokenCounter;Defined in: packages/memory/src/context-engine/token-counter.ts:54
Built-in heuristic counter - chars/4 for Latin-ish text plus one token per dense-script (CJK/kana/hangul) character (CE-13). Stable default when the operator does not pass a real TokenCounter.