I\'m trying to build a parse tree using CYK Algorithm on a Probabilistic CFG . This is my Probabilistic CFG
pcfg = PCFG.fromstring("""S -> N