public class KeywordBasedStatementFilter extends Object implements Predicate<org.apache.jena.rdf.model.Statement>
Constructor and Description |
---|
KeywordBasedStatementFilter(Set<String> questionWords) |
Modifier and Type | Method and Description |
---|---|
Set<org.apache.jena.rdf.model.Statement> |
getStatementsBelowThreshold(double threshold) |
double |
getThreshold() |
void |
setThreshold(double threshold) |
boolean |
test(org.apache.jena.rdf.model.Statement s) |
public KeywordBasedStatementFilter(Set<String> questionWords)
public boolean test(org.apache.jena.rdf.model.Statement s)
public void setThreshold(double threshold)
public double getThreshold()
public Set<org.apache.jena.rdf.model.Statement> getStatementsBelowThreshold(double threshold)
DL-Learner is licenced under the terms of the GNU General Public License.
Copyright © 2007-2019 Jens Lehmann