public class NormalizedRelationDictionaryFilter extends FilterMapper<ChunkedExtraction>
| Constructor and Description |
|---|
NormalizedRelationDictionaryFilter(HashSet<String> relations)
Constructs a new filter using the String relations in the given set.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
doFilter(ChunkedExtraction extr)
Returns true if the tokens in the given extraction appear in the set of
relations passed to the constructor.
|
doMappublic NormalizedRelationDictionaryFilter(HashSet<String> relations)
relations - public boolean doFilter(ChunkedExtraction extr)
doFilter in class FilterMapper<ChunkedExtraction>Copyright © 2010-2013 University of Washington CSE. All Rights Reserved.