edu.stanford.nlp.process
Class AbstractListProcessor
java.lang.Object
edu.stanford.nlp.process.AbstractListProcessor
- All Implemented Interfaces:
- ListProcessor, Processor
- Direct Known Subclasses:
- PTBEscapingProcessor, StripTagsProcessor, WordToSentenceProcessor, WordToTaggedWordProcessor
public abstract class AbstractListProcessor
- extends Object
- implements ListProcessor, Processor
Class AbstractListProcessor
- Author:
- Teg Grenager
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractListProcessor
public AbstractListProcessor()
processDocument
public Document processDocument(Document in)
- Description copied from interface:
Processor
- Converts a Document to a different Document, by transforming
or filtering the original Document. The general contract of this method
is to not modify the
in Document in any way, and to
preserve the metadata of the in Document in the
returned Document.
- Specified by:
processDocument in interface Processor
- See Also:
FunctionProcessor
processLists
public List processLists(List<List> lists)
- Process a list of lists of tokens.
- Parameters:
lists - a List of objects of type List
- Returns:
- a List of objects of type List, each of which has been processed.
Stanford NLP Group