Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
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
append
Method · 0.95
Text
Class · 0.70
copy
Method · 0.45
Tested by
no test coverage detected