edu.stanford.nlp.process
Interface Processor

All Known Implementing Classes:
FunctionProcessor, PTBEscapingProcessor, SentenceToWordProcessor, StoplistFilter, StripTagsProcessor, WordToTaggedWordProcessor

public interface Processor

Top-level interface for transforming Documents.

Author:
Sepandar Kamvar (sdkamvar@stanford.edu)
See Also:
process(edu.stanford.nlp.dbm.Document)

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

Method Detail

process

public Document process(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