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 DocumentMetadata Source #
Information about the document, discovered during text extraction.
See: newDocumentMetadata
smart constructor.
DocumentMetadata' | |
|
Instances
newDocumentMetadata :: DocumentMetadata Source #
Create a value of DocumentMetadata
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:extractedCharacters:DocumentMetadata'
, documentMetadata_extractedCharacters
- List of pages in the document, with the number of characters extracted
from each page.
$sel:pages:DocumentMetadata'
, documentMetadata_pages
- Number of pages in the document.
documentMetadata_extractedCharacters :: Lens' DocumentMetadata (Maybe [ExtractedCharactersListItem]) Source #
List of pages in the document, with the number of characters extracted from each page.
documentMetadata_pages :: Lens' DocumentMetadata (Maybe Int) Source #
Number of pages in the document.