edu.stanford.nlp.process
Class StoplistFilter

java.lang.Object
  |
  +--edu.stanford.nlp.process.StoplistFilter
All Implemented Interfaces:
Processor

public class StoplistFilter
extends Object
implements Processor

Filter which removes stop-listed words. Needs some debugging [cdm].


Constructor Summary
StoplistFilter()
          Create a new StopListFilter with a small default stoplist
StoplistFilter(String stoplistfile)
          Create a new StopListFilter with the stoplist given in stoplistfile
 
Method Summary
 Collection process(Collection in)
          Takes a Collection of words and returns a Collection of the same words with the stoplisted words removed.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StoplistFilter

public StoplistFilter()
Create a new StopListFilter with a small default stoplist


StoplistFilter

public StoplistFilter(String stoplistfile)
Create a new StopListFilter with the stoplist given in stoplistfile

Method Detail

process

public Collection process(Collection in)
Takes a Collection of words and returns a Collection of the same words with the stoplisted words removed.

Specified by:
process in interface Processor


Stanford NLP Group