DocumentContentElement Class
A DocumentContentElement.
- Inheritance
-
builtins.objectDocumentContentElement
Constructor
DocumentContentElement(**kwargs)
Variables
- content
- str
Text content of the document content element.
- span
- DocumentSpan
Location of the element in the full document content.
- confidence
- float
Confidence of accurately extracting the document content element.
- kind
- str
The kind of document element. Possible kinds are "word" or "selectionMark" which correspond to a DocumentWord or DocumentSelectionMark, respectively.
Methods
| from_dict |
Converts a dict in the shape of a DocumentContentElement to the model itself. |
| to_dict |
Returns a dict representation of DocumentContentElement. |
from_dict
Converts a dict in the shape of a DocumentContentElement to the model itself.
from_dict(data: dict) -> azure.ai.formrecognizer._models.DocumentContentElement
Parameters
- data
Returns
DocumentContentElement
Return type
to_dict
Returns a dict representation of DocumentContentElement.
to_dict() -> dict
Returns
dict
Return type
Feedback
Submit and view feedback for