Package rouge.serializer

Examples of rouge.serializer.RougeSeeFormatSerializer


    public static void main(String[] args) throws JSAPException
    {
  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


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

    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

Related Classes of rouge.serializer.RougeSeeFormatSerializer

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.