DocumentFormula interface

An extracted formula.

Extends

Properties

confidence

Confidence of correctly extracting the formula.

kind

The type of formula that was extracted. One of:

  • "inline": a formula embedded in the content of a paragraph.
  • "display": a formula in display mode that takes up a whole line.
span

Location of the formula in the reading-order concatenated content.

value

A LaTeX expression describing the formula.

Inherited Properties

polygon

Bounding polygon of the entity.

Property Details

confidence

Confidence of correctly extracting the formula.

confidence: number

Property Value

number

kind

The type of formula that was extracted. One of:

  • "inline": a formula embedded in the content of a paragraph.
  • "display": a formula in display mode that takes up a whole line.
kind: string

Property Value

string

span

Location of the formula in the reading-order concatenated content.

span: DocumentSpan

Property Value

value

A LaTeX expression describing the formula.

value: string

Property Value

string

Inherited Property Details

polygon

Bounding polygon of the entity.

polygon?: Point2D[]

Property Value

Inherited From HasBoundingPolygon.polygon