public class PivotedNormSmoother extends AbstractSmoother
Pivoted Normalization Smoother
Smoother for Vector Space Model
Copyright: Copyright (c) 2005
Company: IST, Drexel University
docFirstOptimal, querytermFirstOptimal, queryWeight, useLog| Constructor and Description |
|---|
PivotedNormSmoother(IRCollection collection) |
PivotedNormSmoother(IRCollection collection,
double s) |
| 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 PivotedNormSmoother(IRCollection collection)
public PivotedNormSmoother(IRCollection collection, double s)
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.