Examples of normaliseTermWeights()


Examples of org.terrier.matching.MatchingQueryTerms.normaliseTermWeights()

      if (requirement_list.size()>0) {
        mqt.addDocumentScoreModifier(new BooleanScoreModifier(requirement_list));
      }

      mqt.setQuery(q);
      mqt.normaliseTermWeights();
      try{
        ResultSet outRs = matching.match(rq.getQueryID(), mqt);
        //now crop the collectionresultset down to a query result set.
        rq.setResultSet(outRs.getResultSet(0, outRs.getResultSize()));
      } catch (IOException ioe) {
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.