PTDataExtractionOptions

@interface PTDataExtractionOptions : NSObject

Gets the value MinimumConfidenceThreshold from the options object. Specifies the minimum confidence threshold for a class to be accepted in the DocClassification engine. The default is 0.25. Classes that don’t meet the minimum threshold will not be listed in the output JSON. This setting only affects the DocClassification engine.

  • Undocumented

    Declaration

    Objective-C

    - (BOOL)GetDeepLearningAssist;

    Swift

    func getDeepLearningAssist() -> Bool
  • Undocumented

    Declaration

    Objective-C

    - (PTDataExtractionOptions*)SetDeepLearningAssist: (BOOL)value;

    Swift

    func setDeepLearningAssist(_ value: Bool) -> PTDataExtractionOptions!
  • Undocumented

    Declaration

    Objective-C

    - (NSString *)GetLanguage;

    Swift

    func getLanguage() -> String!
  • Undocumented

    Declaration

    Objective-C

    - (PTDataExtractionOptions*)SetLanguage: (NSString *)value;

    Swift

    func setLanguage(_ value: String!) -> PTDataExtractionOptions!
  • Gets the value OverlappingFormFieldBehavior from the options object. When a detected form field overlaps with an existing one, keep either the old field (value ‘KeepOld’), or the new one (value ‘KeepNew’, default).

    Declaration

    Objective-C

    - (NSString *)GetOverlappingFormFieldBehavior;

    Swift

    func getOverlappingFormFieldBehavior() -> String!

    Return Value

    The current value for OverlappingFormFieldBehavior.

  • Sets the value for OverlappingFormFieldBehavior in the options object. When a detected form field overlaps with an existing one, keep either the old field (value ‘KeepOld’), or the new one (value ‘KeepNew’, default).

    Declaration

    Objective-C

    - (PTDataExtractionOptions *)SetOverlappingFormFieldBehavior:(NSString *)value;

    Swift

    func setOverlappingFormFieldBehavior(_ value: String!) -> PTDataExtractionOptions!

    Parameters

    value

    The new value for OverlappingFormFieldBehavior.

    Return Value

    This object, for call chaining.

  • Gets the value PDFPassword from the options object. Specifies the password if the PDF requires one. The default is no password.

    Declaration

    Objective-C

    - (NSString *)GetPDFPassword;

    Swift

    func getPDFPassword() -> String!

    Return Value

    The current value for PDFPassword.

  • Sets the value for PDFPassword in the options object. Specifies the password if the PDF requires one. The default is no password.

    Declaration

    Objective-C

    - (PTDataExtractionOptions *)SetPDFPassword:(NSString *)value;

    Swift

    func setPDFPassword(_ value: String!) -> PTDataExtractionOptions!

    Parameters

    value

    The new value for PDFPassword.

    Return Value

    This object, for call chaining.

  • Gets the value Pages from the options object. Specifies a range of pages to be converted, such as “1-5”. By default all pages are converted. The first page has the page number of 1.

    Declaration

    Objective-C

    - (NSString *)GetPages;

    Swift

    func getPages() -> String!

    Return Value

    The current value for Pages.

  • Sets the value for Pages in the options object. Specifies a range of pages to be converted, such as “1-5”. By default all pages are converted. The first page has the page number of 1.

    Declaration

    Objective-C

    - (PTDataExtractionOptions *)SetPages:(NSString *)value;

    Swift

    func setPages(_ value: String!) -> PTDataExtractionOptions!

    Parameters

    value

    The new value for Pages.

    Return Value

    This object, for call chaining.

  • Undocumented

    Declaration

    Objective-C

    - (instancetype)init;

    Swift

    init!()