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

Class Tenses

pattern/text/__init__.py:1464–1468  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1462 return []
1463
1464class Tenses(list):
1465
1466 def __contains__(self, tense):
1467 # t in tenses(verb) also works when t is an alias (e.g. "1sg").
1468 return list.__contains__(self, TENSES[tense_id(tense)][:-2])
1469
1470### SENTIMENT POLARITY LEXICON #####################################################################
1471# A sentiment lexicon can be used to discern objective facts from subjective opinions in text.

Callers 1

tensesMethod · 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…