| 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 |
Amazonka.Comprehend.Types.DocumentClass
Description
Synopsis
Documentation
data DocumentClass Source #
Specifies the class that categorizes the document being analyzed
See: newDocumentClass smart constructor.
Constructors
| DocumentClass' | |
Instances
newDocumentClass :: DocumentClass Source #
Create a value of DocumentClass 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:DocumentClass', documentClass_name - The name of the class.
$sel:page:DocumentClass', documentClass_page - Page number in the input document. This field is present in the response
only if your request includes the Byte parameter.
$sel:score:DocumentClass', documentClass_score - The confidence score that Amazon Comprehend has this class correctly
attributed.
documentClass_name :: Lens' DocumentClass (Maybe Text) Source #
The name of the class.
documentClass_page :: Lens' DocumentClass (Maybe Int) Source #
Page number in the input document. This field is present in the response
only if your request includes the Byte parameter.
documentClass_score :: Lens' DocumentClass (Maybe Double) Source #
The confidence score that Amazon Comprehend has this class correctly attributed.