selectWords
selectWords(
s):object
Defined in: src/namer.ts:395
The word-selection at the heart of normalize, exposed so the namer’s
“is this name strong?” judgment derives from the SAME logic that builds the name
(no drift). usedSpecific is true when distinctive (non-COMMON) words drove the
pick; kept is the final, deduped, ≤4-word list that normalize joins.
truncated is true when the distinctive-word list exceeded the 4-word cap — the
heuristic lost subject words, so the LLM refine should run to recover them.
Parameters
Section titled “Parameters”string
Returns
Section titled “Returns”object
kept:
string[]
truncated
Section titled “truncated”truncated:
boolean
usedSpecific
Section titled “usedSpecific”usedSpecific:
boolean