AWSComprehendDocumentReaderConfig

Objective-C

@interface AWSComprehendDocumentReaderConfig

Swift

class AWSComprehendDocumentReaderConfig

The input properties for a topic detection job.

Required parameters: [DocumentReadAction]

  • This enum field will start with two values which will apply to PDFs:

    • TEXTRACT_DETECT_DOCUMENT_TEXT - The service calls DetectDocumentText for PDF documents per page.

    • TEXTRACT_ANALYZE_DOCUMENT - The service calls AnalyzeDocument for PDF documents per page.

    Declaration

    Objective-C

    @property (nonatomic) AWSComprehendDocumentReadAction documentReadAction;

    Swift

    var documentReadAction: AWSComprehendDocumentReadAction { get set }
  • This enum field provides two values:

    • SERVICE_DEFAULT - use service defaults for Document reading. For Digital PDF it would mean using an internal parser instead of Textract APIs

    • FORCE_DOCUMENT_READ_ACTION - Always use specified action for DocumentReadAction, including Digital PDF.

    Declaration

    Objective-C

    @property (nonatomic) AWSComprehendDocumentReadMode documentReadMode;

    Swift

    var documentReadMode: AWSComprehendDocumentReadMode { get set }
  • Specifies how the text in an input file should be processed:

    Declaration

    Objective-C

    @property (nonatomic, strong) NSArray<NSString *> *_Nullable featureTypes;

    Swift

    var featureTypes: [String]? { get set }