DocumentKeyValuePair Class
- java.
lang. Object - com.
azure. ai. formrecognizer. documentanalysis. models. DocumentKeyValuePair
- com.
public final class DocumentKeyValuePair
An object representing a form field with distinct field label (key) and field value (may be empty).
Constructor Summary
Constructor | Description |
---|---|
DocumentKeyValuePair() |
Constructs a Document |
Method Summary
Modifier and Type | Method and Description |
---|---|
float |
getConfidence()
Get the confidence property: Confidence of correctly extracting the key-value pair. |
Document |
getKey()
Get the key property: Field label of the key-value pair. |
Document |
getValue()
Get the value property: Field value of the key-value pair. |
Methods inherited from java.lang.Object
Constructor Details
DocumentKeyValuePair
public DocumentKeyValuePair()
Constructs a DocumentKeyValuePair object.
Method Details
getConfidence
public float getConfidence()
Get the confidence property: Confidence of correctly extracting the key-value pair.
Returns:
getKey
public DocumentKeyValueElement getKey()
Get the key property: Field label of the key-value pair.
Returns:
getValue
public DocumentKeyValueElement getValue()
Get the value property: Field value of the key-value pair.
Returns: