Class Conversions
java.lang.Object
com.ibm.cloud.sdk.core.service.model.GenericModel
com.ibm.watson.discovery.v1.model.Conversions
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class Conversions
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Document conversion settings.
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Conversions.Builder
Builder. -
Method Summary
Modifier and Type Method Description HtmlSettings
html()
Gets the html.Boolean
imageTextRecognition()
Gets the imageTextRecognition.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.Methods inherited from class com.ibm.cloud.sdk.core.service.model.GenericModel
equals, hashCode, toString
-
Method Details
-
newBuilder
New builder.- Returns:
- a Conversions builder
-
pdf
Gets the pdf.A list of PDF conversion settings.
- Returns:
- the pdf
-
word
Gets the word.A list of Word conversion settings.
- Returns:
- the word
-
html
Gets the html.A list of HTML conversion settings.
- Returns:
- the html
-
segment
Gets the segment.A list of Document Segmentation settings.
- Returns:
- the segment
-
jsonNormalizations
Gets the 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.
- Returns:
- the jsonNormalizations
-
imageTextRecognition
Gets the 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.
- Returns:
- the imageTextRecognition
-