Class Chunk (2.35.0)

Chunk(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Represents a chunk.

Attributes

Name Description
chunk_id str
ID of the chunk.
source_block_ids MutableSequence[str]
Unused.
content str
Text content of the chunk.
page_span google.cloud.documentai_v1.types.Document.ChunkedDocument.Chunk.ChunkPageSpan
Page span of the chunk.
page_headers MutableSequence[google.cloud.documentai_v1.types.Document.ChunkedDocument.Chunk.ChunkPageHeader]
Page headers associated with the chunk.
page_footers MutableSequence[google.cloud.documentai_v1.types.Document.ChunkedDocument.Chunk.ChunkPageFooter]
Page footers associated with the chunk.

Classes

ChunkPageFooter

ChunkPageFooter(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Represents the page footer associated with the chunk.

ChunkPageHeader

ChunkPageHeader(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Represents the page header associated with the chunk.

ChunkPageSpan

ChunkPageSpan(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Represents where the chunk starts and ends in the document.