Package interfaces

Examples of interfaces.IRougeSummaryModel


    }

    @Test
    public void rouge2_TextDoesntMatchGoldStandard()
    {
  IRougeSummaryModel text = new RougeSummaryModel(null);
  text.setTitle("hello world");
  IRougeSummaryModel gs = new RougeSummaryModel(null);
  gs.setTitle("nothing of the above");
  Set<IRougeSummaryModel> s = new HashSet<IRougeSummaryModel>();
  s.add(gs);
  rouge = new RougeN(text, s, Integer.MAX_VALUE, Integer.MAX_VALUE, 2, 'A', 0.5);

  Map<ScoreType, Double> results = rouge.computeNGramScore();
View Full Code Here


    }

    @Test
    public void rouge1_TextDoesntMatchGoldStandard()
    {
  IRougeSummaryModel text = new RougeSummaryModel(null);
  text.setTitle("hello world");
  IRougeSummaryModel gs = new RougeSummaryModel(null);
  gs.setTitle("nothing of the above");
  Set<IRougeSummaryModel> s = new HashSet<IRougeSummaryModel>();
  s.add(gs);
  rouge = new RougeN(text, s, Integer.MAX_VALUE, Integer.MAX_VALUE, 1, 'A', 0.5);

  Map<ScoreType, Double> results = rouge.computeNGramScore();
View Full Code Here

TOP

Related Classes of interfaces.IRougeSummaryModel

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.