AWSComprehendDocumentClassificationConfig
Objective-C
@interface AWSComprehendDocumentClassificationConfig
Swift
class AWSComprehendDocumentClassificationConfig
Configuration required for a document classification model.
Required parameters: [Mode]
-
One or more labels to associate with the custom classifier.
Declaration
Objective-C
@property (nonatomic, strong) NSArray<NSString *> *_Nullable labels;
Swift
var labels: [String]? { get set }
-
Classification mode indicates whether the documents are
MULTI_CLASS
orMULTI_LABEL
.Declaration
Objective-C
@property (nonatomic) AWSComprehendDocumentClassifierMode mode;
Swift
var mode: AWSComprehendDocumentClassifierMode { get set }