docs: public CfgParseChart parseMarginal(List<?> terminals, Object root, boolean useSumProduct) {
      CfgParseChart chart = createParseChart(terminals, useSumProduct);
      Factor rootFactor = TableFactor.pointDistribution(parentVar,
          parentVar.outcomeArrayToAssignment(root));
      return marginal(chart, terminals, rootFactor);
    }