L
- The type of the labelspublic interface DocumentProcessor<IN,OUT,L,F>
processDocument(edu.stanford.nlp.ling.Document<L, F, IN>)
Modifier and Type | Method and Description |
---|---|
Document<L,F,OUT> |
processDocument(Document<L,F,IN> in)
Converts a Document to a different Document, by transforming
or filtering the original Document.
|
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.