edu.stanford.nlp.process
Interface Processor

All Known Implementing Classes:
AbstractListProcessor, PTBEscapingProcessor, StripTagsProcessor, WordToSentenceProcessor, WordToTaggedWordProcessor

public interface Processor

Top-level interface for transforming Documents.

Author:
Sepandar Kamvar (sdkamvar@stanford.edu)
See Also:
processDocument(edu.stanford.nlp.ling.Document)

Method Summary
 Document processDocument(Document in)
          Converts a Document to a different Document, by transforming or filtering the original Document.
 

Method Detail

processDocument

Document processDocument(Document in)
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.

See Also:
FunctionProcessor


Stanford NLP Group