示例#1
0
 def __init__(self, node, children, **prob_kwargs):
     ProbabilisticMixIn.__init__(self, **prob_kwargs)
     ImmutableTree.__init__(self, node, children)
示例#2
0
 def __init__(self, node, children, **prob_kwargs):
     ProbabilisticMixIn.__init__(self, **prob_kwargs)
     ImmutableTree.__init__(self, node, children)
示例#3
0
 def __init__(self, node, children=None, **prob_kwargs):
     Tree.__init__(self, node, children)
     ProbabilisticMixIn.__init__(self, **prob_kwargs)
示例#4
0
 def __init__(self, node, children=None, **prob_kwargs):
     ImmutableTree.__init__(self, node, children)
     ProbabilisticMixIn.__init__(self, **prob_kwargs)
     self._hash = hash((self._label, tuple(self), self.prob()))