DocumentFormula クラス

数式オブジェクト。

継承
builtins.object
DocumentFormula

コンストラクター

DocumentFormula(**kwargs: Any)

メソッド

from_dict

DocumentFormula の図形のディクテーションをモデル自体に変換します。

to_dict

DocumentFormula の dict 表現を返します。

from_dict

DocumentFormula の図形のディクテーションをモデル自体に変換します。

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

パラメーター

名前 説明
data
必須

DocumentFormula の形をした辞書。

戻り値

説明

DocumentFormula

to_dict

DocumentFormula の dict 表現を返します。

to_dict() -> Dict[str, Any]

戻り値

説明

Dict[str, Any]

属性

confidence

数式を正しく抽出する信頼度。

confidence: float

kind

数式の種類。 既知の値は "inline"、"display" です。

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

polygon

数式の境界ポリゴン。

polygon: Sequence[Point]

span

読み取り順序の連結されたコンテンツ内の数式の場所。

span: DocumentSpan

value

式を記述する LaTex 式。

value: str