L - The type of the labelspublic interface DocumentProcessor<IN,OUT,L,F>
processDocument(edu.stanford.nlp.ling.Document<L, F, IN>)Document<L,F,OUT> processDocument(Document<L,F,IN> in)
in Document in any way, and to
preserve the metadata of the in Document in the
returned Document.FunctionProcessor