MCPcopy
hub / github.com/codemayq/chinese-chatbot-corpus / clone

Method clone

language/langconv.py:115–119  ·  view source on GitHub ↗
(self, pool)

Source from the content-addressed store, hash-verified

113 self.pool = UEMPTY
114
115 def clone(self, pool):
116 new = deepcopy(self)
117 new.state = WAIT_TAIL
118 new.pool = pool
119 return new
120
121 def feed(self, char, map):
122 node = map[self.pool + char]

Callers 1

feedMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected