RecognizedForm Class 
	- java.
lang. Object  - com.
azure. ai. formrecognizer. models. RecognizedForm  
- com.
 
public final class RecognizedForm
Represents a form that has been recognized by a trained or prebuilt model based on the provided input document.
Constructor Summary
| Constructor | Description | 
|---|---|
| RecognizedForm(Map<String,FormField> fields, String formType, FormPageRange pageRange, List<FormPage> pages) | 
								 Constructs a Recognized  | 
					
Method Summary
| Modifier and Type | Method and Description | 
|---|---|
| 
									Map<String,Form | 
						
							getFields()
								 A map of the fields recognized from the input document.  | 
					
| String | 
							getFormType()
								 Get the recognized form type.  | 
					
| Float | 
							getFormTypeConfidence()
								 Get the confidence of the form type identified by the model.  | 
					
| String | 
							getModelId()
								 Get the identifier of the model that was used for recognition, if not using a prebuilt model.  | 
					
| 
									Form | 
						
							getPageRange()
								 Get the first and last page number where the document is found.  | 
					
| 
									List<Form | 
						
							getPages()
								 Get the list of extracted pages.  | 
					
Methods inherited from java.lang.Object
Constructor Details
RecognizedForm
public RecognizedForm(Map<String,FormField> fields, String formType, FormPageRange pageRange, List<FormPage> pages)
Constructs a RecognizedForm object.
Parameters:
Method Details
getFields
public Map<String,FormField> getFields()
A map of the fields recognized from the input document. For models trained with labels, this is the training-time label of the field. For models trained with forms only, a unique name is generated for each field.
Returns:
getFormType
public String getFormType()
Get the recognized form type.
Returns:
getFormTypeConfidence
public Float getFormTypeConfidence()
Get the confidence of the form type identified by the model.
Returns:
getModelId
public String getModelId()
Get the identifier of the model that was used for recognition, if not using a prebuilt model.
Returns:
getPageRange
public FormPageRange getPageRange()
Get the first and last page number where the document is found.
Returns:
getPages
public List<FormPage> getPages()
Get the list of extracted pages.
Returns: