public class StoplistFilter<L,F> extends java.lang.Object implements DocumentProcessor<Word,Word,L,F>
Constructor and Description |
---|
StoplistFilter()
Create a new StopListFilter with a small default stoplist
|
StoplistFilter(StopList stoplist)
Create a new StoplistFilter with the given StopList.
|
StoplistFilter(java.lang.String stoplistfile)
Create a new StopListFilter with the stoplist given in
stoplistfile |
Modifier and Type | Method and Description |
---|---|
Document<L,F,Word> |
processDocument(Document<L,F,Word> in)
Returns a new Document with the same meta-data as in and the same words
except those on the stop list this filter was constructed with.
|
public StoplistFilter()
public StoplistFilter(java.lang.String stoplistfile)
stoplistfile
public StoplistFilter(StopList stoplist)