MCPcopy Create free account
hub / github.com/QodeXcli/QodeX / semanticTokens

Function semanticTokens

src/context/approach-recall.ts:32–34  ·  view source on GitHub ↗
(text: string)

Source from the content-addressed store, hash-verified

30
31/** Tokenize + stem — the recall ranker's semantic-lexical vocabulary. PURE. */
32export function semanticTokens(text: string): string[] {
33 return tokenize(text).map(stem);
34}
35
36export interface ApproachSource {
37 kind: 'episode' | 'worklog' | 'fact' | 'receipt';

Callers 2

selectRelevantPassagesFunction · 0.85
rankApproachesFunction · 0.85

Calls 1

tokenizeFunction · 0.85

Tested by

no test coverage detected