Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- data EntityRecognizerDocuments = EntityRecognizerDocuments' {
- inputFormat :: Maybe InputFormat
- testS3Uri :: Maybe Text
- s3Uri :: Text
- newEntityRecognizerDocuments :: Text -> EntityRecognizerDocuments
- entityRecognizerDocuments_inputFormat :: Lens' EntityRecognizerDocuments (Maybe InputFormat)
- entityRecognizerDocuments_testS3Uri :: Lens' EntityRecognizerDocuments (Maybe Text)
- entityRecognizerDocuments_s3Uri :: Lens' EntityRecognizerDocuments Text
Documentation
data EntityRecognizerDocuments Source #
Describes the training documents submitted with an entity recognizer.
See: newEntityRecognizerDocuments
smart constructor.
EntityRecognizerDocuments' | |
|
Instances
newEntityRecognizerDocuments Source #
Create a value of EntityRecognizerDocuments
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:inputFormat:EntityRecognizerDocuments'
, entityRecognizerDocuments_inputFormat
- 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.
$sel:testS3Uri:EntityRecognizerDocuments'
, entityRecognizerDocuments_testS3Uri
- Specifies the Amazon S3 location where the test documents for an entity
recognizer are located. The URI must be in the same AWS Region as the
API endpoint that you are calling.
$sel:s3Uri:EntityRecognizerDocuments'
, entityRecognizerDocuments_s3Uri
- Specifies the Amazon S3 location where the training documents for an
entity recognizer are located. The URI must be in the same region as the
API endpoint that you are calling.
entityRecognizerDocuments_inputFormat :: Lens' EntityRecognizerDocuments (Maybe InputFormat) Source #
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.
entityRecognizerDocuments_testS3Uri :: Lens' EntityRecognizerDocuments (Maybe Text) Source #
Specifies the Amazon S3 location where the test documents for an entity recognizer are located. The URI must be in the same AWS Region as the API endpoint that you are calling.
entityRecognizerDocuments_s3Uri :: Lens' EntityRecognizerDocuments Text Source #
Specifies the Amazon S3 location where the training documents for an entity recognizer are located. The URI must be in the same region as the API endpoint that you are calling.