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 |
Synopsis
Documentation
data DocumentLabel Source #
Specifies one of the label or labels that categorize the document being analyzed.
See: newDocumentLabel
smart constructor.
Instances
newDocumentLabel :: DocumentLabel Source #
Create a value of DocumentLabel
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:name:DocumentLabel'
, documentLabel_name
- The name of the label.
$sel:page:DocumentLabel'
, documentLabel_page
- Page number where the label occurs. This field is present in the
response only if your request includes the Byte
parameter.
$sel:score:DocumentLabel'
, documentLabel_score
- The confidence score that Amazon Comprehend has this label correctly
attributed.
documentLabel_name :: Lens' DocumentLabel (Maybe Text) Source #
The name of the label.
documentLabel_page :: Lens' DocumentLabel (Maybe Int) Source #
Page number where the label occurs. This field is present in the
response only if your request includes the Byte
parameter.
documentLabel_score :: Lens' DocumentLabel (Maybe Double) Source #
The confidence score that Amazon Comprehend has this label correctly attributed.