Examples of prepareForRouge()


Examples of rouge.serializer.RougeSeeFormatSerializer.prepareForRouge()

    {
  JSAP jsap = initArgsParser();
  JSAPResult parsedArgs = jsap.parse(args);
  checkIfArgsParsedSuccessfully(jsap, parsedArgs);
  RougeSeeFormatSerializer s = new RougeSeeFormatSerializer();
  Map<IRougeSummaryModel, Set<IRougeSummaryModel>> results = s.prepareForRouge(parsedArgs.getFile(Config.DOCUMENT_PATH.toString()), parsedArgs.getFile(Config.GOLD_STANDARD_PATH.toString()));

  SummaryStatistics rss = new SummaryStatistics();
  SummaryStatistics pss = new SummaryStatistics();
  SummaryStatistics fss = new SummaryStatistics();
View Full Code Here

Examples of rouge.serializer.RougeSeeFormatSerializer.prepareForRouge()

public class PrepareForRougeDriver
{
    public static void main(String[] args)
    {
  RougeSeeFormatSerializer s = new RougeSeeFormatSerializer();
  s.serialize(s.prepareForRouge(new File("C:\\Users\\Marina\\Desktop\\muse_test_data\\English\\Documents"),
                          new File("C:\\Users\\Marina\\Desktop\\muse_test_data\\English\\Gold Standard")),
        new File("output"));
    }
   
}
View Full Code Here

Examples of rouge.serializer.RougeSeeFormatSerializer.prepareForRouge()

    public static void main(String[] args)
    {
  RougeN.DEBUG = true;
  JRougeN.DEBUG = true;
  RougeSeeFormatSerializer s = new RougeSeeFormatSerializer();
  Map<IRougeSummaryModel, Set<IRougeSummaryModel>> results = s.prepareForRouge(new File("C:\\Users\\Marina\\Desktop\\muse_test_data\\English\\Documents"), new File("C:\\Users\\Marina\\Desktop\\muse_test_data\\English\\Gold Standard"));
 
  double r = 0;
  double p = 0;
  double f = 0;
 
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.