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

Method remove

pattern/text/tree.py:1066–1068  ·  view source on GitHub ↗
(self, sentence)

Source from the content-addressed store, hash-verified

1064 self.append(s)
1065
1066 def remove(self, sentence):
1067 list.remove(self, sentence)
1068 sentence.text = None
1069 def pop(self, index):
1070 sentence = list.pop(self, index)
1071 sentence.text = None

Callers 11

profileFunction · 0.45
_buildIndexCacheFileMethod · 0.45
tearDownMethod · 0.45
test_model_appendMethod · 0.45
test_model_saveMethod · 0.45
test_model_exportMethod · 0.45
_test_classifierMethod · 0.45
test_graph_nodesMethod · 0.45
test_graph_edgesMethod · 0.45
test_cacheMethod · 0.45
test_pathsMethod · 0.45

Calls

no outgoing calls

Tested by 9

tearDownMethod · 0.36
test_model_appendMethod · 0.36
test_model_saveMethod · 0.36
test_model_exportMethod · 0.36
_test_classifierMethod · 0.36
test_graph_nodesMethod · 0.36
test_graph_edgesMethod · 0.36
test_cacheMethod · 0.36
test_pathsMethod · 0.36