org.terrier.matching.models
Class PL2F

java.lang.Object
  extended by org.terrier.matching.models.WeightingModel
      extended by org.terrier.matching.models.PerFieldNormWeightingModel
          extended by org.terrier.matching.models.PL2F
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, Model

public class PL2F
extends PerFieldNormWeightingModel

A convenience subclass of PerFieldNormWeightingModel setup to do specifically PL2F. If you use this model, please cite: C. Macdonald, V. Plachouras, B. He, C. Lioma, and I. Ounis. University of Glasgow at WebCLEF-2005: Experiments in per-field normalisation and language specific stemming. In Proc. of CLEF 2005.

Since:
3.0
Author:
Craig Macdonald
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.terrier.matching.models.WeightingModel
averageDocumentLength, c, documentFrequency, i, keyFrequency, numberOfDocuments, numberOfPointers, numberOfTokens, numberOfUniqueTerms, termFrequency
 
Constructor Summary
PL2F()
          Constructs an instance of PL2F.
 
Method Summary
 java.lang.String getInfo()
          Returns the name of the model.
 
Methods inherited from class org.terrier.matching.models.PerFieldNormWeightingModel
prepare, score, score, score, setCollectionStatistics, setEntryStatistics
 
Methods inherited from class org.terrier.matching.models.WeightingModel
clone, getOverflowed, getParameter, setAverageDocumentLength, setDocumentFrequency, setKeyFrequency, setNumberOfDocuments, setNumberOfPointers, setNumberOfTokens, setNumberOfUniqueTerms, setParameter, setRequest, setTermFrequency, stirlingPower
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PL2F

public PL2F()
     throws java.lang.Exception
Constructs an instance of PL2F.

Throws:
java.lang.Exception
Method Detail

getInfo

public java.lang.String getInfo()
Description copied from class: WeightingModel
Returns the name of the model.

Specified by:
getInfo in interface Model
Overrides:
getInfo in class PerFieldNormWeightingModel
Returns:
java.lang.String


Terrier 3.5. Copyright © 2004-2011 University of Glasgow