public class NewsPreprocessor extends Object implements DocumentPreprocessor
Constructor and Description |
---|
NewsPreprocessor()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
com.oracle.labs.mlrg.olcut.provenance.ConfiguredObjectProvenance |
getProvenance() |
String |
processDoc(String doc)
Processes the content of part of a document stored as a string, returning a
new string.
|
public String processDoc(String doc)
DocumentPreprocessor
processDoc
in interface DocumentPreprocessor
doc
- the document to processnull
,
in which case the resulting string will be ignored.public com.oracle.labs.mlrg.olcut.provenance.ConfiguredObjectProvenance getProvenance()
getProvenance
in interface com.oracle.labs.mlrg.olcut.provenance.Provenancable<com.oracle.labs.mlrg.olcut.provenance.ConfiguredObjectProvenance>
Copyright © 2015–2021 Oracle and/or its affiliates. All rights reserved.