DocumentFormula Klasse

Ein Formelobjekt.

Vererbung
builtins.object
DocumentFormula

Konstruktor

DocumentFormula(**kwargs: Any)

Methoden

from_dict

Konvertiert ein Dict in der Form einer DocumentFormula in das Modell selbst.

to_dict

Gibt eine Dict-Darstellung von DocumentFormula zurück.

from_dict

Konvertiert ein Dict in der Form einer DocumentFormula in das Modell selbst.

from_dict(data: Dict[str, Any]) -> DocumentFormula

Parameter

Name Beschreibung
data
Erforderlich

Ein Wörterbuch in Der Form von DocumentFormula.

Gibt zurück

Typ Beschreibung

DocumentFormula

to_dict

Gibt eine Dict-Darstellung von DocumentFormula zurück.

to_dict() -> Dict[str, Any]

Gibt zurück

Typ Beschreibung

Dict[str, Any]

Attribute

confidence

Vertrauen beim korrekten Extrahieren der Formel.

confidence: float

kind

Formelart. Bekannte Werte sind "inline", "display".

kind: Literal['inline', 'display']

polygon

Umgebendes Polygon der Formel.

polygon: Sequence[Point]

span

Position der Formel im verketteten Inhalt der Lesereihenfolge.

span: DocumentSpan

value

LaTex-Ausdruck, der die Formel beschreibt.

value: str