public class Conversions
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Modifier and Type | Class and Description |
---|---|
static class |
Conversions.Builder
Builder.
|
Modifier and Type | Field and Description |
---|---|
protected HtmlSettings |
html |
protected java.lang.Boolean |
imageTextRecognition |
protected java.util.List<NormalizationOperation> |
jsonNormalizations |
protected PdfSettings |
pdf |
protected SegmentSettings |
segment |
protected WordSettings |
word |
Modifier | Constructor and Description |
---|---|
protected |
Conversions(Conversions.Builder builder) |
Modifier and Type | Method and Description |
---|---|
HtmlSettings |
html()
Gets the html.
|
java.lang.Boolean |
imageTextRecognition()
Gets the imageTextRecognition.
|
java.util.List<NormalizationOperation> |
jsonNormalizations()
Gets the jsonNormalizations.
|
Conversions.Builder |
newBuilder()
New builder.
|
PdfSettings |
pdf()
Gets the pdf.
|
SegmentSettings |
segment()
Gets the segment.
|
WordSettings |
word()
Gets the word.
|
protected PdfSettings pdf
protected WordSettings word
protected HtmlSettings html
protected SegmentSettings segment
@SerializedName(value="json_normalizations") protected java.util.List<NormalizationOperation> jsonNormalizations
@SerializedName(value="image_text_recognition") protected java.lang.Boolean imageTextRecognition
protected Conversions(Conversions.Builder builder)
public Conversions.Builder newBuilder()
public PdfSettings pdf()
A list of PDF conversion settings.
public WordSettings word()
A list of Word conversion settings.
public HtmlSettings html()
A list of HTML conversion settings.
public SegmentSettings segment()
A list of Document Segmentation settings.
public java.util.List<NormalizationOperation> jsonNormalizations()
Defines operations that can be used to transform the final output JSON into a normalized form. Operations are executed in the order that they appear in the array.
public java.lang.Boolean imageTextRecognition()
When `true`, automatic text extraction from images (this includes images embedded in supported document formats, for example PDF, and suppported image formats, for example TIFF) is performed on documents uploaded to the collection. This field is supported on **Advanced** and higher plans only. **Lite** plans do not support image text recognition.