public class OkapiSmoother extends AbstractSmoother
Okapi Smoother
Copyright: Copyright (c) 2005
Company: IST, Drexel University
docFirstOptimal, querytermFirstOptimal, queryWeight, useLog| Constructor and Description |
|---|
OkapiSmoother(IRCollection collection) |
OkapiSmoother(IRCollection collection,
double bm25k1,
double bm25b) |
| Modifier and Type | Method and Description |
|---|---|
protected double |
computeSmoothedProb(int termFrequency) |
void |
setDoc(IRDoc doc)
Set the current document for processing
|
boolean |
setParameters(double[] params) |
void |
setQueryTerm(SimpleTermPredicate queryTerm)
Set the current query term for processing
|
getLogLikelihoodOption, getProb, getSmoothedProb, getSmoothedProb, getSmoothedProb, getSmoothedProb, getSmoothedProb, getSmoothedProb, getSmoothedProb, isDocFirstOptimal, isQueryTermFirstOptimal, setLogLikelihoodOptionpublic OkapiSmoother(IRCollection collection)
public OkapiSmoother(IRCollection collection, double bm25k1, double bm25b)
public boolean setParameters(double[] params)
params - paramteres for the current smootherpublic void setQueryTerm(SimpleTermPredicate queryTerm)
SmootherqueryTerm - the query termpublic void setDoc(IRDoc doc)
Smootherdoc - the documentprotected double computeSmoothedProb(int termFrequency)
computeSmoothedProb in class AbstractSmootherCopyright © 2018 JULIE Lab, Germany. All rights reserved.