docs: private double getPartitionFunction(List<CcgParse> parses) {
      double partitionFunction = 0.0;
      for (CcgParse parse : parses) {
        partitionFunction += parse.getSubtreeProbability();
      }
      return partitionFunction;
    }