DocumentStyle Class
An object representing observed text styles.
- Inheritance
-
builtins.objectDocumentStyle
Constructor
DocumentStyle(**kwargs)
Variables
- is_handwritten
- bool
Is content handwritten?.
- spans
- list[DocumentSpan]
Location of the text elements in the concatenated content the style applies to.
- confidence
- float
Confidence of correctly identifying the style.
Methods
| from_dict |
Converts a dict in the shape of a DocumentStyle to the model itself. |
| to_dict |
Returns a dict representation of DocumentStyle. |
from_dict
Converts a dict in the shape of a DocumentStyle to the model itself.
from_dict(data: dict) -> azure.ai.formrecognizer._models.DocumentStyle
Parameters
- data
Required
Returns
DocumentStyle
Return type
to_dict
Feedback
Submit and view feedback for