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 |
Synopsis
Documentation
Provides information about a PII entity.
See: newPiiEntity
smart constructor.
PiiEntity' | |
|
Instances
newPiiEntity :: PiiEntity Source #
Create a value of PiiEntity
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:beginOffset:PiiEntity'
, piiEntity_beginOffset
- A character offset in the input text that shows where the PII entity
begins (the first character is at position 0). The offset returns the
position of each UTF-8 code point in the string. A code point is the
abstract character from a particular graphical representation. For
example, a multi-byte UTF-8 character maps to a single code point.
$sel:score:PiiEntity'
, piiEntity_score
- The level of confidence that Amazon Comprehend has in the accuracy of
the detection.
$sel:endOffset:PiiEntity'
, piiEntity_endOffset
- A character offset in the input text that shows where the PII entity
ends. The offset returns the position of each UTF-8 code point in the
string. A code point is the abstract character from a particular
graphical representation. For example, a multi-byte UTF-8 character maps
to a single code point.
$sel:type':PiiEntity'
, piiEntity_type
- The entity's type.
piiEntity_beginOffset :: Lens' PiiEntity (Maybe Int) Source #
A character offset in the input text that shows where the PII entity begins (the first character is at position 0). The offset returns the position of each UTF-8 code point in the string. A code point is the abstract character from a particular graphical representation. For example, a multi-byte UTF-8 character maps to a single code point.
piiEntity_score :: Lens' PiiEntity (Maybe Double) Source #
The level of confidence that Amazon Comprehend has in the accuracy of the detection.
piiEntity_endOffset :: Lens' PiiEntity (Maybe Int) Source #
A character offset in the input text that shows where the PII entity ends. The offset returns the position of each UTF-8 code point in the string. A code point is the abstract character from a particular graphical representation. For example, a multi-byte UTF-8 character maps to a single code point.
piiEntity_type :: Lens' PiiEntity (Maybe PiiEntityType) Source #
The entity's type.