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

Method __init__

pattern/text/__init__.py:249–250  ·  view source on GitHub ↗
(self, lexicon={}, cmd={})

Source from the content-addressed store, hash-verified

247class Rules(object):
248
249 def __init__(self, lexicon={}, cmd={}):
250 self.lexicon, self.cmd = lexicon, cmd
251
252 def apply(self, x):
253 """ Applies the rule to the given token or list of tokens.

Callers 3

__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected