public class DirichletSmoother extends AbstractSmoother
Dirichlet Smoother
Copyright: Copyright (c) 2005
Company: IST, Drexel University
docFirstOptimal, querytermFirstOptimal, queryWeight, useLog| Constructor and Description |
|---|
DirichletSmoother(IRCollection collection,
double dirichletCoeffi) |
| Modifier and Type | Method and Description |
|---|---|
protected double |
computeSmoothedProb(int termFreq) |
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 DirichletSmoother(IRCollection collection, double dirichletCoeffi)
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 termFreq)
computeSmoothedProb in class AbstractSmootherCopyright © 2018 JULIE Lab, Germany. All rights reserved.