public class LL extends AfterEffect
Modifier and Type | Field and Description |
---|---|
protected String |
methodName
The name of the model.
|
avl, parameter
Constructor and Description |
---|
LL()
The default constructor.
|
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()
Returns the name of the method.
|
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