edu.stanford.nlp.process
Interface Processor

All Known Implementing Classes:
DocumentProcessor, SentenceToWordProcessor, StoplistFilter, StripTagsProcessor, WordToSentenceProcessor, 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 should be not to modify the in Document in any way, and to preserve the metadata of the in Document in the returned Document.

See Also:
DocumentProcessor


Stanford NLP Group