| Copyright | (c) 2013-2021 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | None |
Amazonka.Comprehend.Types.DocumentLabel
Description
Synopsis
Documentation
data DocumentLabel Source #
Specifies one of the label or labels that categorize the document being analyzed.
See: newDocumentLabel smart constructor.
Constructors
| DocumentLabel' | |
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:score:DocumentLabel', documentLabel_score - The confidence score that Amazon Comprehend has this label correctly
attributed.
$sel:name:DocumentLabel', documentLabel_name - The name of the label.
documentLabel_score :: Lens' DocumentLabel (Maybe Double) Source #
The confidence score that Amazon Comprehend has this label correctly attributed.
documentLabel_name :: Lens' DocumentLabel (Maybe Text) Source #
The name of the label.