private double getScoreBM25(RetrievalModelBM25 r) throws IOException { QryIop q = (QryIop) args.get(0); return q.getScoreForBM25Sum(r); }
/** * 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); }
public double getDefaultScore(RetrievalModel r, int docid) throws IOException { QryIop q = (QryIop) args.get(0); return q.getDefaultScoreForIndri(((RetrievalModelIndri) r), docid); }