Values.BlockSourceInformation about each word or line of text in the input document. For additional information, see Block in the Amazon Textract API reference.
type nonrec t = {id : String_.t option;Unique identifier for the block.
*)blockType : BlockType.t option;The block represents a line of text or one word of text. WORD - A word that's detected on a document page. A word is one or more ISO basic Latin script characters that aren't separated by spaces. LINE - A string of tab-delimited, contiguous words that are detected on a document page
*)text : String_.t option;The word or line of text extracted from the block.
*)page : Integer.t option;Page number where the block appears.
*)geometry : Geometry.t option;Co-ordinates of the rectangle or polygon that contains the text.
*)relationships : ListOfRelationships.t option;A list of child blocks of the current block. For example, a LINE object has child blocks for each WORD block that's part of the line of text.
*)}val to_value :
t ->
[> `Structure of
(string
* [> `Enum of string
| `Integer of Integer.t
| `List of
[> `Structure of
(string
* [> `Enum of string
| `List of [> `String of String_.t ] list ])
list ]
list
| `String of String_.t
| `Structure of
(string
* [> `List of
[> `Structure of (string * [> `Float of Float_.t ]) list ]
list
| `Structure of (string * [> `Float of Float_.t ]) list ])
list ])
list ]