| Package | Description |
|---|---|
| com.amazonaws.services.comprehend.model |
| Modifier and Type | Method and Description |
|---|---|
DocumentClassificationConfig |
DocumentClassificationConfig.clone() |
DocumentClassificationConfig |
TaskConfig.getDocumentClassificationConfig()
Configuration required for a document classification model.
|
DocumentClassificationConfig |
DocumentClassificationConfig.withLabels(Collection<String> labels)
One or more labels to associate with the custom classifier.
|
DocumentClassificationConfig |
DocumentClassificationConfig.withLabels(String... labels)
One or more labels to associate with the custom classifier.
|
DocumentClassificationConfig |
DocumentClassificationConfig.withMode(DocumentClassifierMode mode)
Classification mode indicates whether the documents are
MULTI_CLASS or MULTI_LABEL. |
DocumentClassificationConfig |
DocumentClassificationConfig.withMode(String mode)
Classification mode indicates whether the documents are
MULTI_CLASS or MULTI_LABEL. |
| Modifier and Type | Method and Description |
|---|---|
void |
TaskConfig.setDocumentClassificationConfig(DocumentClassificationConfig documentClassificationConfig)
Configuration required for a document classification model.
|
TaskConfig |
TaskConfig.withDocumentClassificationConfig(DocumentClassificationConfig documentClassificationConfig)
Configuration required for a document classification model.
|
Copyright © 2024. All rights reserved.