MCPcopy Create free account
hub / github.com/clips/pattern / __getitem__

Method __getitem__

pattern/text/en/wordnet/__init__.py:413–414  ·  view source on GitHub ↗
(self, k)

Source from the content-addressed store, hash-verified

411 # Words are stored without diacritics,
412 # use wordnet.normalize(word).
413 def __getitem__(self, k):
414 return Sentiment.__getitem__(self, normalize(k))
415 def get(self, k, *args, **kwargs):
416 return Sentiment.get(self, normalize(k), *args, **kwargs)
417

Callers

nothing calls this directly

Calls 2

normalizeFunction · 0.70
__getitem__Method · 0.45

Tested by

no test coverage detected