Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/obsidianmd/obsidian-help
/ tokenize
Function
tokenize
scripts/migrate-locale.ts:81–83 ·
view source on GitHub ↗
(s: string)
Source
from the content-addressed store, hash-verified
79
}
80
81
function
tokenize(s: string): string[] {
82
return
normalize(s).split(/\s+/).filter(t => t.length > 1);
83
}
84
85
// Noise tokens that add no signal
86
const
NOISE =
new
Set([
"the"
,
"a"
,
"an"
,
"and"
,
"or"
,
"of"
,
"to"
,
"in"
,
Callers
1
findMatch
Function · 0.85
Calls
1
normalize
Function · 0.70
Tested by
no test coverage detected