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

Method load

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

Source from the content-addressed store, hash-verified

279 return self._path
280
281 def load(self):
282 # ["NN", "s", "fhassuf", "1", "NNS", "x"]
283 list.extend(self, (x.split() for x in _read(self._path)))
284
285 def apply(self, token, previous=(None, None), next=(None, None)):
286 """ Applies lexical rules to the given token,

Callers

nothing calls this directly

Calls 3

_readFunction · 0.85
extendMethod · 0.45
splitMethod · 0.45

Tested by

no test coverage detected