| 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.ComprehendMedical.Types.Entity
Description
Synopsis
- data Entity = Entity' {}
- newEntity :: Entity
- entity_attributes :: Lens' Entity (Maybe [Attribute])
- entity_beginOffset :: Lens' Entity (Maybe Int)
- entity_category :: Lens' Entity (Maybe EntityType)
- entity_endOffset :: Lens' Entity (Maybe Int)
- entity_id :: Lens' Entity (Maybe Int)
- entity_score :: Lens' Entity (Maybe Double)
- entity_text :: Lens' Entity (Maybe Text)
- entity_traits :: Lens' Entity (Maybe [Trait])
- entity_type :: Lens' Entity (Maybe EntitySubType)
Documentation
Provides information about an extracted medical 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:attributes:Entity', entity_attributes - The extracted attributes that relate to this entity.
Entity, entity_beginOffset - The 0-based character offset in the input text that shows where the
entity begins. The offset returns the UTF-8 code point in the string.
Entity, entity_category - The category of the entity.
Entity, entity_endOffset - The 0-based character offset in the input text that shows where the
entity ends. The offset returns the UTF-8 code point in the string.
Entity, entity_id - The numeric identifier for the entity. This is a monotonically
increasing id unique within this response rather than a global unique
identifier.
Entity, entity_score - The level of confidence that Comprehend Medical; has in the accuracy of
the detection.
Entity, entity_text - The segment of input text extracted as this entity.
Entity, entity_traits - Contextual information for the entity.
Entity, entity_type - Describes the specific type of entity with category of entities.
entity_attributes :: Lens' Entity (Maybe [Attribute]) Source #
The extracted attributes that relate to this entity.
entity_beginOffset :: Lens' Entity (Maybe Int) Source #
The 0-based character offset in the input text that shows where the entity begins. The offset returns the UTF-8 code point in the string.
entity_category :: Lens' Entity (Maybe EntityType) Source #
The category of the entity.
entity_endOffset :: Lens' Entity (Maybe Int) Source #
The 0-based character offset in the input text that shows where the entity ends. The offset returns the UTF-8 code point in the string.
entity_id :: Lens' Entity (Maybe Int) Source #
The numeric identifier for the entity. This is a monotonically increasing id unique within this response rather than a global unique identifier.
entity_score :: Lens' Entity (Maybe Double) Source #
The level of confidence that Comprehend Medical; has in the accuracy of the detection.
entity_text :: Lens' Entity (Maybe Text) Source #
The segment of input text extracted as this entity.
entity_type :: Lens' Entity (Maybe EntitySubType) Source #
Describes the specific type of entity with category of entities.