Package org.opensextant.extraction
Class MatchFilter
java.lang.Object
org.opensextant.extraction.MatchFilter
The Class MatchFilter.
-
Field Summary
-
Constructor Summary
ConstructorDescriptionfree-form filterMatchFilter
(String stopfile) Instantiates a new match filter.MatchFilter
(URL stopfile) -
Method Summary
-
Field Details
-
tagFilter
The tag filter.
-
-
Constructor Details
-
MatchFilter
public MatchFilter()free-form filter -
MatchFilter
Instantiates a new match filter.- Parameters:
stopfile
- path to stopfile resource as it appears in CLASSPATH- Throws:
IOException
- Signals that an I/O exception has occurred.
-
MatchFilter
- Throws:
IOException
-
-
Method Details
-
filterOut
If value is in stop list, then filter it out.- Parameters:
value
- the value- Returns:
- true, if successful. True if the value is null
-