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

Method load

pattern/text/__init__.py:353–355  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

351 return self._path
352
353 def load(self):
354 # ["VBD", "VB", "PREVTAG", "TO"]
355 list.extend(self, (x.split() for x in _read(self._path)))
356
357 def apply(self, tokens):
358 """ Applies contextual rules to the given list of tokens,

Callers

nothing calls this directly

Calls 3

_readFunction · 0.85
extendMethod · 0.45
splitMethod · 0.45

Tested by

no test coverage detected