T - the class of the filtered markingspublic class ConfidenceScoreBasedMarkingFilter<T extends org.aksw.gerbil.transfer.nif.Marking> extends AbstractMarkingFilter<T>
ScoredMarking must have a confidence score that is higher than the
given threshold. If a Marking does not implement the
ScoredMarking interface, it will always pass this filter.| Constructor and Description |
|---|
ConfidenceScoreBasedMarkingFilter(double threshold)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
double |
getThreshold() |
boolean |
isMarkingGood(T marking)
Returns true if the marking is good and does not have to be filtered out.
|
void |
setThreshold(double threshold) |
filterList, filterListOfListspublic ConfidenceScoreBasedMarkingFilter(double threshold)
threshold - The threshold used for the filteringpublic boolean isMarkingGood(T marking)
MarkingFilterpublic double getThreshold()
public void setThreshold(double threshold)
threshold - the threshold to setCopyright © 2014–2017. All rights reserved.