def conditional_probability(self):
            return float(self.weight) / self.parent.weight
Calculates the conditional probability
dataset/ETHPy150Open mikhaildubov/AST-text-analysis/east/asts/ast.py/AnnotatedSuffixTree.Node.conditional_probability