Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
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
_read
Function · 0.85
extend
Method · 0.45
split
Method · 0.45
Tested by
no test coverage detected