Skip to main content
Deno 2 is finally here 🎉️
Learn more
interface DocumentParagraph
import { type DocumentParagraph } from "https://deno.land/x/aiformrecognizer@v1.2.0/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.