MCPcopy Create free account
hub / github.com/codemix/graph / endsWithCVC

Function endsWithCVC

packages/text-search/src/stemmer.ts:70–72  ·  view source on GitHub ↗

* Check if stem ends with consonant-vowel-consonant pattern * where the final consonant is not w, x, or y

(stem: string)

Source from the content-addressed store, hash-verified

68 * where the final consonant is not w, x, or y
69 */
70function endsWithCVC(stem: string): boolean {
71 return cvc.test(stem);
72}
73
74/**
75 * Step 1a: Handle plural forms and -ed/-ing endings

Callers 2

step1bFunction · 0.85
step5aFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected