DocumentFormula Class
A formula object.
Constructor
DocumentFormula(**kwargs: Any)
Methods
from_dict |
Converts a dict in the shape of a DocumentFormula to the model itself. |
to_dict |
Returns a dict representation of DocumentFormula. |
from_dict
Converts a dict in the shape of a DocumentFormula to the model itself.
from_dict(data: Dict[str, Any]) -> DocumentFormula
Parameters
Name | Description |
---|---|
data
Required
|
A dictionary in the shape of DocumentFormula. |
Returns
Type | Description |
---|---|
DocumentFormula |
to_dict
Attributes
confidence
Confidence of correctly extracting the formula.
confidence: float
kind
Formula kind. Known values are "inline", "display".
kind: Literal['inline', 'display']
polygon
Bounding polygon of the formula.
polygon: Sequence[Point]
span
Location of the formula in the reading order concatenated content.
span: DocumentSpan
value
LaTex expression describing the formula.
value: str
Zusammenarbeit auf GitHub
Die Quelle für diesen Inhalt finden Sie auf GitHub, wo Sie auch Issues und Pull Requests erstellen und überprüfen können. Weitere Informationen finden Sie in unserem Leitfaden für Mitwirkende.
Azure SDK for Python