Function: foldVerb()
ts
function foldVerb(words: string[]): string | undefined;Defined in: src/batteries/media/verbs.ts:799
Fold a verb token sequence to canonical form: lowercase, separators (space/_/.) normalized so extract_text ≡ extract text ≡ extract.text all match extract.text.
Parameters
| Parameter | Type | Description |
|---|---|---|
words | string[] | The verb word tokens as written (1 or 2 words, possibly containing _/.). |
Returns
string | undefined
The canonical verb id when a fold-match exists, otherwise undefined.