GenericDocument
data class GenericDocument(val type: GenericDocumentNormalizedType, val fields: List<Field>, val children: List<GenericDocument>, val confidence: Double?, val confidenceWeight: Double?)
Constructors
Link copied to clipboard
constructor(json: JsonObject)
constructor(type: GenericDocumentNormalizedType, fields: List<Field>, children: List<GenericDocument>, confidence: Double?, confidenceWeight: Double?)
Properties
Link copied to clipboard
A list of sub-documents.
Link copied to clipboard
Confidence in result accuracy. The value ranges from 0 to 1, higher is better.
Link copied to clipboard
The weight of the confidence. Can be used to calculate the weighted average confidence of two documents.
Link copied to clipboard
The type of the document.