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

Method append

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

Source from the content-addressed store, hash-verified

1057 list.insert(self, index, sentence)
1058 self[-1].text = self
1059 def append(self, sentence):
1060 list.append(self, sentence)
1061 self[-1].text = self
1062 def extend(self, sentences):
1063 for s in sentences:
1064 self.append(s)

Callers 15

__init__Method · 0.95
extendMethod · 0.95
copyMethod · 0.95
__init__.pyFile · 0.45
isplitFunction · 0.45
cooccurrenceFunction · 0.45
histogramFunction · 0.45
__setitem__Method · 0.45
appendMethod · 0.45
modifiersMethod · 0.45
appendMethod · 0.45
appendMethod · 0.45

Calls

no outgoing calls

Tested by 15

test_modalityMethod · 0.36
test_sentimentMethod · 0.36
test_sentimentMethod · 0.36
test_sentimentMethod · 0.36
modelFunction · 0.36
test_model_appendMethod · 0.36
_test_k_meansMethod · 0.36
loadMethod · 0.36
test_graph_nodesMethod · 0.36
visitMethod · 0.36