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

Function s

pattern/text/en/modality.py:24–25  ·  view source on GitHub ↗
(word)

Source from the content-addressed store, hash-verified

22SUBJUNCTIVE = "subjunctive" # It would be nice to go for a walk sometime.
23
24def s(word):
25 return word.string.lower()
26def join(words):
27 return " ".join([w.string.lower() for w in words])
28def question(sentence):

Callers 13

__call__Method · 0.85
relativeFunction · 0.85
tf_idfFunction · 0.85
searchMethod · 0.85
testBasicLimitsMethod · 0.85
imperativeFunction · 0.85
conditionalFunction · 0.85
subjunctiveFunction · 0.85
modalityFunction · 0.85
similarMethod · 0.85
test_synsetMethod · 0.85
test_dictMethod · 0.85

Calls

no outgoing calls

Tested by 4

testBasicLimitsMethod · 0.68
test_synsetMethod · 0.68
test_dictMethod · 0.68
test_bag_of_wordsMethod · 0.68