public class L5 extends AfterEffect
Modifier and Type | Field and Description |
---|---|
protected String |
methodName
The name of the model.
|
avl, parameter
Constructor and Description |
---|
L5() |
Modifier and Type | Method and Description |
---|---|
double |
gain(double tf,
double documentFrequency,
double termFrequency)
This method computes the gain of encountering an extra token of the query term.
|
String |
getInfo()
This method returns the name of the model.
|
clone, getParameter, setAverageDocumentLength, setParameter
protected final String methodName
public String getInfo()
getInfo
in class AfterEffect
public double gain(double tf, double documentFrequency, double termFrequency)
gain
in class AfterEffect
tf
- The term frequency in the documentdocumentFrequency
- The document frequency of the termtermFrequency
- the term frequency in the collectionTerrier 4.0. Copyright © 2004-2014 University of Glasgow