DocumentTable クラス

四角形のレイアウトに配置されたテーブル セルで構成されるテーブル オブジェクト。

継承
builtins.object
DocumentTable

コンストラクター

DocumentTable(**kwargs: Any)

メソッド

from_dict

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

to_dict

DocumentTable の dict 表現を返します。

from_dict

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

from_dict(data: Dict) -> DocumentTable

パラメーター

名前 説明
data
必須

DocumentTable の図形の辞書。

戻り値

説明

DocumentTable

to_dict

DocumentTable の dict 表現を返します。

to_dict() -> Dict

戻り値

説明

dict

属性

bounding_regions

テーブルをカバーする境界領域。

bounding_regions: List[BoundingRegion] | None

cells

テーブル内に含まれるセル。

cells: List[DocumentTableCell]

column_count

テーブル内の列の数。

column_count: int

row_count

テーブル内の行数。

row_count: int

spans

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

spans: List[DocumentSpan]