code: private CfgParseChart createParseChart(List<?> terminals, boolean useSumProduct) {
      return new CfgParseChart(terminals, parentVar, leftVar, rightVar, terminalVar, ruleTypeVar,
          binaryDistribution, useSumProduct);
    }
docs: Initializes parse charts with the correct variable arguments.
  
  @param terminals
  @param useSumProduct
  @return