|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--lempinen.neatseeker.core.AbstractWeighter | +--lempinen.neatseeker.ir.HitCountWeighter
Provides a simple implementation of a hit count based weighter.
Fields inherited from class lempinen.neatseeker.core.AbstractWeighter |
documentCount, repository, resultCount, wordCount |
Constructor Summary | |
HitCountWeighter()
|
Method Summary | |
float |
calculateWeight(Pointer p)
Calculates the weight of a Pointer using the wdf (within-document freq) |
java.lang.String |
toString()
Returns a textual identification of this Weighter. |
Methods inherited from class lempinen.neatseeker.core.AbstractWeighter |
compare, init, setResultCount |
Methods inherited from class java.lang.Object |
|
Methods inherited from interface java.util.Comparator |
equals |
Constructor Detail |
public HitCountWeighter()
Method Detail |
public float calculateWeight(Pointer p)
public java.lang.String toString()
Weighter
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |