|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--edu.stanford.nlp.process.StoplistFilter
Filter which removes stop-listed words.
Constructor Summary | |
StoplistFilter()
Create a new StopListFilter with a small default stoplist |
|
StoplistFilter(StopList stoplist)
Create a new StoplistFilter with the given StopList. |
|
StoplistFilter(String stoplistfile)
Create a new StopListFilter with the stoplist given in stoplistfile |
Method Summary | |
Document |
process(Document 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. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public StoplistFilter()
public StoplistFilter(String stoplistfile)
stoplistfile
public StoplistFilter(StopList stoplist)
Method Detail |
public Document process(Document in)
process
in interface Processor
DocumentProcessor
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |