|
Terrier IR Platform 2.2.1 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object uk.ac.gla.terrier.matching.models.aftereffect.AfterEffect uk.ac.gla.terrier.matching.models.aftereffect.LL
public class LL
This class implements the LL model for the first normalisation by after effect. LL stands for the log of laplace succession.
Constructor Summary | |
---|---|
LL()
The default constructor. |
Method Summary | |
---|---|
double |
gain(double tf,
double documentFrequency,
double termFrequency)
This method computes the gain of encountering an extra token of the query term. |
java.lang.String |
getInfo()
Returns the name of the method. |
Methods inherited from class uk.ac.gla.terrier.matching.models.aftereffect.AfterEffect |
---|
getParameter, setAverageDocumentLength, setParameter |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LL()
Method Detail |
---|
public java.lang.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 collection
|
Terrier IR Platform 2.2.1 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |