Package rouge

Examples of rouge.JRougeN


  System.out.println("JROUGE-N");
  r = p = f = 0;
  rouge = null;
  for (IRougeSummaryModel system : results.keySet())
  {
      rouge = new JRougeN(system, results.get(system), Integer.MAX_VALUE, Integer.MAX_VALUE, 2, 'A', 0.5);
      Map<ScoreType, Double> scores = rouge.evaluate();
      r += scores.get(ScoreType.R);
      p += scores.get(ScoreType.P);
      f += scores.get(ScoreType.F);
  }
View Full Code Here

TOP

Related Classes of rouge.JRougeN

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.