Skip to content

DatasetEntityRecognizerDocuments

Source code in docs_src/capo_comprehend/types/dataset_entity_recognizer_documents.py
class DatasetEntityRecognizerDocuments(TypedDict, closed=True):
    s3_uri: "capo_comprehend.types.s3_uri.S3Uri"
    """<p> Specifies the Amazon S3 location where the documents for the dataset are located. </p>"""
    input_format: NotRequired["capo_comprehend.types.input_format.InputFormat"]
    """<p> 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.</p>"""

input_format instance-attribute

input_format: NotRequired[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.

s3_uri instance-attribute

s3_uri: S3Uri

Specifies the Amazon S3 location where the documents for the dataset are located.