MCPcopy Index your code
hub / github.com/lazyprogrammer/machine_learning_examples / Tree

Class Tree

nlp_class2/util.py:73–78  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

71
72
73class Tree:
74 def __init__(self, word, label):
75 self.left = None
76 self.right = None
77 self.word = word
78 self.label = label
79
80
81def display_tree(t, lvl=0):

Callers 1

str2treeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected