edu.stanford.nlp.process
Class CollectionProcessor

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

public class CollectionProcessor
extends Object
implements Processor


Constructor Summary
CollectionProcessor(Appliable a)
           
 
Method Summary
 Collection process(Collection collection)
          Converts a Collection to a different Collection, by transforming or filtering the original Collection using the Appliable given in the constructor.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CollectionProcessor

public CollectionProcessor(Appliable a)
Method Detail

process

public Collection process(Collection collection)
Converts a Collection to a different Collection, by transforming or filtering the original Collection using the Appliable given in the constructor. For example, a parser that implements Processor could convert a Collection of Sentences to a Collection of Trees.

Specified by:
process in interface Processor


Stanford NLP Group