Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface GenericDocumentResult

Package version

The result of analysis using the prebuilt Generic Document model ("prebuilt-document").

This model produces all of the fields of the layout model (pages, tables, and styles) as well as extracted key-value pairs and entities.

Hierarchy

Index

Properties

entities

entities: DocumentEntity[]

Extracted entities. An entity is a page element that has been classified as belonging to a category and optionally a subcategory.

For example, the text "CALIFORNIA" may be identified as an entity with the category "Location".

keyValuePairs

keyValuePairs: DocumentKeyValuePair[]

Extracted key-value pairs. A key-value pair is a directed association between two page elements.

For example, a labeled entry box may consist of the label (key) and the entry box text (value).

pages

pages: DocumentPage[]

styles

styles: DocumentStyle[]

The text styles that were observed in the input.

For example, this contains information about regions of the input where handwritten text occurs.

tables

tables: DocumentTable[]

Extracted tables, organized into cells that individually contain their extracted contents.

Generated using TypeDoc