docs: public double getProbability(CfgParseTree tree) {
      double ruleProbability = getProbabilityHelper(tree);
      double rootProbability = rootDistribution.getUnnormalizedProbability(tree.getRoot());
      return ruleProbability * rootProbability;
    }