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.
  • Method Details

    • newBuilder

      public Conversions.Builder newBuilder()
      New builder.
      Returns:
      a Conversions builder
    • pdf

      public PdfSettings pdf()
      Gets the pdf.

      A list of PDF conversion settings.

      Returns:
      the pdf
    • word

      public WordSettings word()
      Gets the word.

      A list of Word conversion settings.

      Returns:
      the word
    • html

      public HtmlSettings html()
      Gets the html.

      A list of HTML conversion settings.

      Returns:
      the html
    • segment

      public SegmentSettings segment()
      Gets the segment.

      A list of Document Segmentation settings.

      Returns:
      the segment
    • jsonNormalizations

      public List<NormalizationOperation> 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

      public Boolean 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