Optional
BlocksOptional
DocumentInformation about the document, discovered during text extraction. This field is present
in the response only if your request used the Byte
parameter.
Optional
DocumentThe document type for each page in the input document. This field is present
in the response only if your request used the Byte
parameter.
Optional
EntitiesA collection of entities identified in the input text. For each entity, the response provides the entity text, entity type, where the entity text begins and ends, and the level of confidence that Amazon Comprehend has in the detection.
If your request uses a custom entity recognition model, Amazon Comprehend detects the entities that the model is trained to recognize. Otherwise, it detects the default entity types. For a list of default entity types, see Entities in the Comprehend Developer Guide.
Optional
ErrorsPage-level errors that the system detected while processing the input document. The field is empty if the system encountered no errors.
Information about each block of text in the input document. Blocks are nested. A page block contains a block for each line of text, which contains a block for each word.
The
Block
content for a Word input document does not include aGeometry
field.The
Block
field is not present in the response for plain-text inputs.