MCPcopy Create free account
hub / github.com/chinawithfrank/ChatBotCourse / clone

Method clone

subtitle/preprocess/langconv.py:112–116  ·  view source on GitHub ↗
(self, pool)

Source from the content-addressed store, hash-verified

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

Callers 1

feedMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected