|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectanl.aida.client.net.TFIDFFilterCreator
public class TFIDFFilterCreator
Creates a ScorerThresholdFilter that filters based on tf/idf score being >= to some threshold.
Constructor Summary | |
---|---|
TFIDFFilterCreator()
|
Method Summary | |
---|---|
anl.aida.score.TermScoreFilter |
createFilter(CacheElement element,
float val)
Creates a TermScoreFilter using the element and val. |
java.lang.String |
getLabel()
Gets a label for this creator. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TFIDFFilterCreator()
Method Detail |
---|
public java.lang.String getLabel()
getLabel
in interface TSFilterCreator
public anl.aida.score.TermScoreFilter createFilter(CacheElement element, float val)
createFilter
in interface TSFilterCreator
element
- the element to use -- getSTC etc fromval
- a value to use (e.g. threshold).
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |