Skip to main content
interface DocumentParagraph
import { type DocumentParagraph } from "https://deno.land/x/aiformrecognizer@v1.1.0/src/mod.ts";

A paragraph object consisting with contiguous lines generally with common alignment and spacing.

Properties

optional
role: ParagraphRole

Semantic role of the paragraph.

content: string

Concatenated content of the paragraph in reading order.

optional
boundingRegions: BoundingRegion[]

Bounding regions covering the paragraph.

spans: DocumentSpan[]

Location of the paragraph in the reading order concatenated content.