Package org.terrier.matching

Examples of org.terrier.matching.PostingListManager.prepare()


        System.err
        .println("ERROR: Wrong function id specified for ProximityScoreModifierTREC2009");
      }
 
      PostingListManager plm = new PostingListManager(index, index.getCollectionStatistics(), terms);
      plm.prepare(false);
      phraseTerms = new String[plm.getNumTerms()];
      EntryStatistics[] es = new EntryStatistics[plm.getNumTerms()];
      IterablePosting[] ips = new IterablePosting[plm.getNumTerms()];
     
      for (int i = 0; i < plm.getNumTerms(); i++) {
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.