Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Documentation
data LendingResult Source #
Contains the detections for each page analyzed through the Analyze Lending API.
See: newLendingResult
smart constructor.
LendingResult' | |
|
Instances
newLendingResult :: LendingResult Source #
Create a value of LendingResult
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:extractions:LendingResult'
, lendingResult_extractions
- An array of Extraction to hold structured data. e.g. normalized key
value pairs instead of raw OCR detections .
$sel:page:LendingResult'
, lendingResult_page
- The page number for a page, with regard to whole submission.
$sel:pageClassification:LendingResult'
, lendingResult_pageClassification
- The classifier result for a given page.
lendingResult_extractions :: Lens' LendingResult (Maybe [Extraction]) Source #
An array of Extraction to hold structured data. e.g. normalized key value pairs instead of raw OCR detections .
lendingResult_page :: Lens' LendingResult (Maybe Natural) Source #
The page number for a page, with regard to whole submission.
lendingResult_pageClassification :: Lens' LendingResult (Maybe PageClassification) Source #
The classifier result for a given page.