public class KeywordBasedQueryTreeFilter extends Object implements QueryTreeFilter
Constructor and Description |
---|
KeywordBasedQueryTreeFilter(Collection<String> questionWords) |
Modifier and Type | Method and Description |
---|---|
QueryTree<String> |
getFilteredQueryTree(QueryTree<String> tree) |
Collection<String> |
getQuestionWords() |
void |
setThreshold(double threshold) |
public KeywordBasedQueryTreeFilter(Collection<String> questionWords)
public QueryTree<String> getFilteredQueryTree(QueryTree<String> tree)
getFilteredQueryTree
in interface QueryTreeFilter
public Collection<String> getQuestionWords()
public void setThreshold(double threshold)
DL-Learner is licenced under the terms of the GNU General Public License.
Copyright © 2007-2019 Jens Lehmann