Ejemplo n.º 1
0
 private double getScoreBM25(RetrievalModelBM25 r) throws IOException {
   QryIop q = (QryIop) args.get(0);
   return q.getScoreForBM25Sum(r);
 }
Ejemplo n.º 2
0
 /**
  * getScore for the Indri retrieval model.
  *
  * @param r
  * @return
  * @throws IOException
  */
 private double getScoreIndri(RetrievalModelIndri r) throws IOException {
   QryIop q = (QryIop) args.get(0);
   return q.getScoreForIndri(r);
 }
Ejemplo n.º 3
0
 public double getDefaultScore(RetrievalModel r, int docid) throws IOException {
   QryIop q = (QryIop) args.get(0);
   return q.getDefaultScoreForIndri(((RetrievalModelIndri) r), docid);
 }