| 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.Entity
Description
Synopsis
- data Entity = Entity' {}
- newEntity :: Entity
- entity_beginOffset :: Lens' Entity (Maybe Int)
- entity_text :: Lens' Entity (Maybe Text)
- entity_score :: Lens' Entity (Maybe Double)
- entity_endOffset :: Lens' Entity (Maybe Int)
- entity_type :: Lens' Entity (Maybe EntityType)
Documentation
Provides information about an entity.
See: newEntity smart constructor.
Constructors
| Entity' | |
Fields
| |
Instances
Create a value of Entity 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:Entity', entity_beginOffset - A character offset in the input text that shows where the 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:text:Entity', entity_text - The text of the entity.
$sel:score:Entity', entity_score - The level of confidence that Amazon Comprehend has in the accuracy of
the detection.
$sel:endOffset:Entity', entity_endOffset - A character offset in the input text that shows where the 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':Entity', entity_type - The entity's type.
entity_beginOffset :: Lens' Entity (Maybe Int) Source #
A character offset in the input text that shows where the 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.
entity_score :: Lens' Entity (Maybe Double) Source #
The level of confidence that Amazon Comprehend has in the accuracy of the detection.
entity_endOffset :: Lens' Entity (Maybe Int) Source #
A character offset in the input text that shows where the 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.
entity_type :: Lens' Entity (Maybe EntityType) Source #
The entity's type.