AWSComprehendDatasetEntityRecognizerDocuments

Objective-C

@interface AWSComprehendDatasetEntityRecognizerDocuments

Swift

class AWSComprehendDatasetEntityRecognizerDocuments

Describes the documents submitted with a dataset for an entity recognizer model.

Required parameters: [S3Uri]

  • Specifies how the text in an input file should be processed. This is optional, and the default is ONE_DOC_PER_LINE. ONE_DOC_PER_FILE - Each file is considered a separate document. Use this option when you are processing large documents, such as newspaper articles or scientific papers. ONE_DOC_PER_LINE - Each line in a file is considered a separate document. Use this option when you are processing many short documents, such as text messages.

    Declaration

    Objective-C

    @property (nonatomic) AWSComprehendInputFormat inputFormat;

    Swift

    var inputFormat: AWSComprehendInputFormat { get set }
  • Specifies the Amazon S3 location where the documents for the dataset are located.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable s3Uri;

    Swift

    var s3Uri: String? { get set }