interface EntityRecognizerInputDataConfigProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.Comprehend.CfnEntityRecognizer.EntityRecognizerInputDataConfigProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awscomprehend#CfnEntityRecognizer_EntityRecognizerInputDataConfigProperty |
Java | software.amazon.awscdk.services.comprehend.CfnEntityRecognizer.EntityRecognizerInputDataConfigProperty |
Python | aws_cdk.aws_comprehend.CfnEntityRecognizer.EntityRecognizerInputDataConfigProperty |
TypeScript | aws-cdk-lib » aws_comprehend » CfnEntityRecognizer » EntityRecognizerInputDataConfigProperty |
Specifies the format and location of the input data for an entity recognizer.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_comprehend as comprehend } from 'aws-cdk-lib';
const entityRecognizerInputDataConfigProperty: comprehend.CfnEntityRecognizer.EntityRecognizerInputDataConfigProperty = {
entityTypes: [{
type: 'type',
}],
// the properties below are optional
annotations: {
s3Uri: 's3Uri',
// the properties below are optional
testS3Uri: 'testS3Uri',
},
augmentedManifests: [{
attributeNames: ['attributeNames'],
s3Uri: 's3Uri',
// the properties below are optional
annotationDataS3Uri: 'annotationDataS3Uri',
documentType: 'documentType',
sourceDocumentsS3Uri: 'sourceDocumentsS3Uri',
split: 'split',
}],
dataFormat: 'dataFormat',
documents: {
s3Uri: 's3Uri',
// the properties below are optional
inputFormat: 'inputFormat',
testS3Uri: 'testS3Uri',
},
entityList: {
s3Uri: 's3Uri',
},
};
Properties
| Name | Type | Description |
|---|---|---|
| entity | IResolvable | (IResolvable | Entity)[] | The entity types in the labeled training data. |
| annotations? | IResolvable | Entity | Describes the annotations associated with an entity recognizer. |
| augmented | IResolvable | (IResolvable | Augmented)[] | A list of augmented manifest files that provide training data for a custom model. |
| data | string | The format of your training data. |
| documents? | IResolvable | Entity | Describes the training documents submitted with an entity recognizer. |
| entity | IResolvable | Entity | Describes the entity list submitted with an entity recognizer. |
entityTypes
Type:
IResolvable | (IResolvable | Entity)[]
The entity types in the labeled training data.
annotations?
Type:
IResolvable | Entity
(optional)
Describes the annotations associated with an entity recognizer.
augmentedManifests?
Type:
IResolvable | (IResolvable | Augmented)[]
(optional)
A list of augmented manifest files that provide training data for a custom model.
dataFormat?
Type:
string
(optional)
The format of your training data.
documents?
Type:
IResolvable | Entity
(optional)
Describes the training documents submitted with an entity recognizer.
entityList?
Type:
IResolvable | Entity
(optional)
Describes the entity list submitted with an entity recognizer.

.NET
Go
Java
Python
TypeScript