MCPcopy Index your code
hub / github.com/clips/pattern / is_vowel

Function is_vowel

pattern/vector/stemmer.py:33–34  ·  view source on GitHub ↗
(s)

Source from the content-addressed store, hash-verified

31VALID_LI = ["b", "c", "d", "e", "g", "h", "k", "m", "n", "r", "t"]
32
33def is_vowel(s):
34 return s in VOWELS
35def is_consonant(s):
36 return s not in VOWELS
37def is_double_consonant(s):

Callers 15

is_short_syllableFunction · 0.85
vowel_consonant_pairsFunction · 0.85
inflect.pyFile · 0.85
definite_articleFunction · 0.85
indefinite_articleFunction · 0.85
pluralizeFunction · 0.85
pluralizeFunction · 0.85
singularizeFunction · 0.85
find_lemmaMethod · 0.85
find_lexemeMethod · 0.85
attributiveFunction · 0.85
predicativeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…