snorkelflow.rich_docs.DocumentLayout
- class snorkelflow.rich_docs.DocumentLayout(structures)
Bases:
Serializable
Serializable wrapper for PDF structures detected from DocumentLayoutFeaturizer.
- __init__(structures)
Methods
__init__
(structures)deserialize
(serialized)Deserialize instance to string.
Serialize instance to string.
- classmethod deserialize(serialized)
Deserialize instance to string.
- Return type:
Any
- serialize()
Serialize instance to string.
- Return type:
str