public static interface EntityRecognizerInputDataConfig.Builder extends SdkPojo, CopyableBuilder<EntityRecognizerInputDataConfig.Builder,EntityRecognizerInputDataConfig>
| Modifier and Type | Method and Description |
|---|---|
default EntityRecognizerInputDataConfig.Builder |
annotations(Consumer<EntityRecognizerAnnotations.Builder> annotations)
The S3 location of the CSV file that annotates your training documents.
|
EntityRecognizerInputDataConfig.Builder |
annotations(EntityRecognizerAnnotations annotations)
The S3 location of the CSV file that annotates your training documents.
|
EntityRecognizerInputDataConfig.Builder |
augmentedManifests(AugmentedManifestsListItem... augmentedManifests)
A list of augmented manifest files that provide training data for your custom model.
|
EntityRecognizerInputDataConfig.Builder |
augmentedManifests(Collection<AugmentedManifestsListItem> augmentedManifests)
A list of augmented manifest files that provide training data for your custom model.
|
EntityRecognizerInputDataConfig.Builder |
augmentedManifests(Consumer<AugmentedManifestsListItem.Builder>... augmentedManifests)
A list of augmented manifest files that provide training data for your custom model.
|
EntityRecognizerInputDataConfig.Builder |
dataFormat(EntityRecognizerDataFormat dataFormat)
The format of your training data:
|
EntityRecognizerInputDataConfig.Builder |
dataFormat(String dataFormat)
The format of your training data:
|
default EntityRecognizerInputDataConfig.Builder |
documents(Consumer<EntityRecognizerDocuments.Builder> documents)
The S3 location of the folder that contains the training documents for your custom entity recognizer.
|
EntityRecognizerInputDataConfig.Builder |
documents(EntityRecognizerDocuments documents)
The S3 location of the folder that contains the training documents for your custom entity recognizer.
|
default EntityRecognizerInputDataConfig.Builder |
entityList(Consumer<EntityRecognizerEntityList.Builder> entityList)
The S3 location of the CSV file that has the entity list for your custom entity recognizer.
|
EntityRecognizerInputDataConfig.Builder |
entityList(EntityRecognizerEntityList entityList)
The S3 location of the CSV file that has the entity list for your custom entity recognizer.
|
EntityRecognizerInputDataConfig.Builder |
entityTypes(Collection<EntityTypesListItem> entityTypes)
The entity types in the labeled training data that Amazon Comprehend uses to train the custom entity
recognizer.
|
EntityRecognizerInputDataConfig.Builder |
entityTypes(Consumer<EntityTypesListItem.Builder>... entityTypes)
The entity types in the labeled training data that Amazon Comprehend uses to train the custom entity
recognizer.
|
EntityRecognizerInputDataConfig.Builder |
entityTypes(EntityTypesListItem... entityTypes)
The entity types in the labeled training data that Amazon Comprehend uses to train the custom entity
recognizer.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildEntityRecognizerInputDataConfig.Builder dataFormat(String dataFormat)
The format of your training data:
COMPREHEND_CSV: A CSV file that supplements your training documents. The CSV file contains
information about the custom entities that your trained model will detect. The required format of the file
depends on whether you are providing annotations or an entity list.
If you use this value, you must provide your CSV file by using either the Annotations or
EntityList parameters. You must provide your training documents by using the
Documents parameter.
AUGMENTED_MANIFEST: A labeled dataset that is produced by Amazon SageMaker Ground Truth. This
file is in JSON lines format. Each line is a complete JSON object that contains a training document and its
labels. Each label annotates a named entity in the training document.
If you use this value, you must provide the AugmentedManifests parameter in your request.
If you don't specify a value, Amazon Comprehend uses COMPREHEND_CSV as the default.
dataFormat - The format of your training data:
COMPREHEND_CSV: A CSV file that supplements your training documents. The CSV file
contains information about the custom entities that your trained model will detect. The required
format of the file depends on whether you are providing annotations or an entity list.
If you use this value, you must provide your CSV file by using either the Annotations or
EntityList parameters. You must provide your training documents by using the
Documents parameter.
AUGMENTED_MANIFEST: A labeled dataset that is produced by Amazon SageMaker Ground Truth.
This file is in JSON lines format. Each line is a complete JSON object that contains a training
document and its labels. Each label annotates a named entity in the training document.
If you use this value, you must provide the AugmentedManifests parameter in your request.
If you don't specify a value, Amazon Comprehend uses COMPREHEND_CSV as the default.
EntityRecognizerDataFormat,
EntityRecognizerDataFormatEntityRecognizerInputDataConfig.Builder dataFormat(EntityRecognizerDataFormat dataFormat)
The format of your training data:
COMPREHEND_CSV: A CSV file that supplements your training documents. The CSV file contains
information about the custom entities that your trained model will detect. The required format of the file
depends on whether you are providing annotations or an entity list.
If you use this value, you must provide your CSV file by using either the Annotations or
EntityList parameters. You must provide your training documents by using the
Documents parameter.
AUGMENTED_MANIFEST: A labeled dataset that is produced by Amazon SageMaker Ground Truth. This
file is in JSON lines format. Each line is a complete JSON object that contains a training document and its
labels. Each label annotates a named entity in the training document.
If you use this value, you must provide the AugmentedManifests parameter in your request.
If you don't specify a value, Amazon Comprehend uses COMPREHEND_CSV as the default.
dataFormat - The format of your training data:
COMPREHEND_CSV: A CSV file that supplements your training documents. The CSV file
contains information about the custom entities that your trained model will detect. The required
format of the file depends on whether you are providing annotations or an entity list.
If you use this value, you must provide your CSV file by using either the Annotations or
EntityList parameters. You must provide your training documents by using the
Documents parameter.
AUGMENTED_MANIFEST: A labeled dataset that is produced by Amazon SageMaker Ground Truth.
This file is in JSON lines format. Each line is a complete JSON object that contains a training
document and its labels. Each label annotates a named entity in the training document.
If you use this value, you must provide the AugmentedManifests parameter in your request.
If you don't specify a value, Amazon Comprehend uses COMPREHEND_CSV as the default.
EntityRecognizerDataFormat,
EntityRecognizerDataFormatEntityRecognizerInputDataConfig.Builder entityTypes(Collection<EntityTypesListItem> entityTypes)
The entity types in the labeled training data that Amazon Comprehend uses to train the custom entity recognizer. Any entity types that you don't specify are ignored.
A maximum of 25 entity types can be used at one time to train an entity recognizer. Entity types must not contain the following invalid characters: \n (line break), \\n (escaped line break), \r (carriage return), \\r (escaped carriage return), \t (tab), \\t (escaped tab), space, and , (comma).
entityTypes - The entity types in the labeled training data that Amazon Comprehend uses to train the custom entity
recognizer. Any entity types that you don't specify are ignored.
A maximum of 25 entity types can be used at one time to train an entity recognizer. Entity types must not contain the following invalid characters: \n (line break), \\n (escaped line break), \r (carriage return), \\r (escaped carriage return), \t (tab), \\t (escaped tab), space, and , (comma).
EntityRecognizerInputDataConfig.Builder entityTypes(EntityTypesListItem... entityTypes)
The entity types in the labeled training data that Amazon Comprehend uses to train the custom entity recognizer. Any entity types that you don't specify are ignored.
A maximum of 25 entity types can be used at one time to train an entity recognizer. Entity types must not contain the following invalid characters: \n (line break), \\n (escaped line break), \r (carriage return), \\r (escaped carriage return), \t (tab), \\t (escaped tab), space, and , (comma).
entityTypes - The entity types in the labeled training data that Amazon Comprehend uses to train the custom entity
recognizer. Any entity types that you don't specify are ignored.
A maximum of 25 entity types can be used at one time to train an entity recognizer. Entity types must not contain the following invalid characters: \n (line break), \\n (escaped line break), \r (carriage return), \\r (escaped carriage return), \t (tab), \\t (escaped tab), space, and , (comma).
EntityRecognizerInputDataConfig.Builder entityTypes(Consumer<EntityTypesListItem.Builder>... entityTypes)
The entity types in the labeled training data that Amazon Comprehend uses to train the custom entity recognizer. Any entity types that you don't specify are ignored.
A maximum of 25 entity types can be used at one time to train an entity recognizer. Entity types must not contain the following invalid characters: \n (line break), \\n (escaped line break), \r (carriage return), \\r (escaped carriage return), \t (tab), \\t (escaped tab), space, and , (comma).
This is a convenience method that creates an instance of theEntityTypesListItem.Builder avoiding the need to
create one manually via
EntityTypesListItem.builder().
When the Consumer completes,
SdkBuilder.build() is called
immediately and its result is passed to #entityTypes(List.
entityTypes - a consumer that will call methods on
EntityTypesListItem.Builder#entityTypes(java.util.Collection) EntityRecognizerInputDataConfig.Builder documents(EntityRecognizerDocuments documents)
The S3 location of the folder that contains the training documents for your custom entity recognizer.
This parameter is required if you set DataFormat to COMPREHEND_CSV.
documents - The S3 location of the folder that contains the training documents for your custom entity
recognizer.
This parameter is required if you set DataFormat to COMPREHEND_CSV.
default EntityRecognizerInputDataConfig.Builder documents(Consumer<EntityRecognizerDocuments.Builder> documents)
The S3 location of the folder that contains the training documents for your custom entity recognizer.
This parameter is required if you set DataFormat to COMPREHEND_CSV.
EntityRecognizerDocuments.Builder
avoiding the need to create one manually via EntityRecognizerDocuments.builder().
When the Consumer completes, SdkBuilder.build() is called immediately
and its result is passed to documents(EntityRecognizerDocuments).
documents - a consumer that will call methods on EntityRecognizerDocuments.Builderdocuments(EntityRecognizerDocuments)EntityRecognizerInputDataConfig.Builder annotations(EntityRecognizerAnnotations annotations)
The S3 location of the CSV file that annotates your training documents.
annotations - The S3 location of the CSV file that annotates your training documents.default EntityRecognizerInputDataConfig.Builder annotations(Consumer<EntityRecognizerAnnotations.Builder> annotations)
The S3 location of the CSV file that annotates your training documents.
This is a convenience method that creates an instance of theEntityRecognizerAnnotations.Builder
avoiding the need to create one manually via EntityRecognizerAnnotations.builder().
When the Consumer completes, SdkBuilder.build() is called
immediately and its result is passed to annotations(EntityRecognizerAnnotations).
annotations - a consumer that will call methods on EntityRecognizerAnnotations.Builderannotations(EntityRecognizerAnnotations)EntityRecognizerInputDataConfig.Builder entityList(EntityRecognizerEntityList entityList)
The S3 location of the CSV file that has the entity list for your custom entity recognizer.
entityList - The S3 location of the CSV file that has the entity list for your custom entity recognizer.default EntityRecognizerInputDataConfig.Builder entityList(Consumer<EntityRecognizerEntityList.Builder> entityList)
The S3 location of the CSV file that has the entity list for your custom entity recognizer.
This is a convenience method that creates an instance of theEntityRecognizerEntityList.Builder
avoiding the need to create one manually via EntityRecognizerEntityList.builder().
When the Consumer completes, SdkBuilder.build() is called immediately
and its result is passed to entityList(EntityRecognizerEntityList).
entityList - a consumer that will call methods on EntityRecognizerEntityList.BuilderentityList(EntityRecognizerEntityList)EntityRecognizerInputDataConfig.Builder augmentedManifests(Collection<AugmentedManifestsListItem> augmentedManifests)
A list of augmented manifest files that provide training data for your custom model. An augmented manifest file is a labeled dataset that is produced by Amazon SageMaker Ground Truth.
This parameter is required if you set DataFormat to AUGMENTED_MANIFEST.
augmentedManifests - A list of augmented manifest files that provide training data for your custom model. An augmented
manifest file is a labeled dataset that is produced by Amazon SageMaker Ground Truth.
This parameter is required if you set DataFormat to AUGMENTED_MANIFEST.
EntityRecognizerInputDataConfig.Builder augmentedManifests(AugmentedManifestsListItem... augmentedManifests)
A list of augmented manifest files that provide training data for your custom model. An augmented manifest file is a labeled dataset that is produced by Amazon SageMaker Ground Truth.
This parameter is required if you set DataFormat to AUGMENTED_MANIFEST.
augmentedManifests - A list of augmented manifest files that provide training data for your custom model. An augmented
manifest file is a labeled dataset that is produced by Amazon SageMaker Ground Truth.
This parameter is required if you set DataFormat to AUGMENTED_MANIFEST.
EntityRecognizerInputDataConfig.Builder augmentedManifests(Consumer<AugmentedManifestsListItem.Builder>... augmentedManifests)
A list of augmented manifest files that provide training data for your custom model. An augmented manifest file is a labeled dataset that is produced by Amazon SageMaker Ground Truth.
This parameter is required if you set DataFormat to AUGMENTED_MANIFEST.
AugmentedManifestsListItem.Builder avoiding the need
to create one manually via
AugmentedManifestsListItem.builder().
When the Consumer completes,
SdkBuilder.build() is called
immediately and its result is passed to #augmentedManifests(List.
augmentedManifests - a consumer that will call methods on
AugmentedManifestsListItem.Builder#augmentedManifests(java.util.Collection) Copyright © 2023. All rights reserved.