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

Method copy

pattern/text/tree.py:1078–1082  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1076 return list(self)
1077
1078 def copy(self):
1079 t = Text("", encoding=self.encoding)
1080 for sentence in self:
1081 t.append(sentence.copy())
1082 return t
1083
1084 # Text.string and unicode(Text) are Unicode strings.
1085 @property

Callers

nothing calls this directly

Calls 3

appendMethod · 0.95
TextClass · 0.70
copyMethod · 0.45

Tested by

no test coverage detected