public class CasingPreprocessor extends Object implements DocumentPreprocessor
Modifier and Type | Class and Description |
---|---|
static class |
CasingPreprocessor.CasingOperation
The possible casing operations.
|
Constructor and Description |
---|
CasingPreprocessor(CasingPreprocessor.CasingOperation op)
Construct a casing preprocessor.
|
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 CasingPreprocessor(CasingPreprocessor.CasingOperation op)
op
- The operation to apply.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.