public class B extends AfterEffect
Modifier and Type | Field and Description |
---|---|
protected String |
methodName
The name of the model.
|
avl, parameter
Constructor and Description |
---|
B() |
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 Information Retrieval Platform 5.1. Copyright © 2004-2019, University of Glasgow