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
- data Entity = Entity' {}
- newEntity :: Entity
- entity_beginOffset :: Lens' Entity (Maybe Int)
- entity_text :: Lens' Entity (Maybe Text)
- entity_category :: Lens' Entity (Maybe EntityType)
- entity_score :: Lens' Entity (Maybe Double)
- entity_traits :: Lens' Entity (Maybe [Trait])
- entity_attributes :: Lens' Entity (Maybe [Attribute])
- entity_endOffset :: Lens' Entity (Maybe Int)
- entity_id :: Lens' Entity (Maybe Int)
- entity_type :: Lens' Entity (Maybe EntitySubType)
Documentation
Provides information about an extracted medical entity.
See: newEntity
smart constructor.
Entity' | |
|
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
- 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.
$sel:text:Entity'
, entity_text
- The segment of input text extracted as this entity.
$sel:category:Entity'
, entity_category
- The category of the entity.
$sel:score:Entity'
, entity_score
- The level of confidence that Amazon Comprehend Medical has in the
accuracy of the detection.
$sel:traits:Entity'
, entity_traits
- Contextual information for the entity.
$sel:attributes:Entity'
, entity_attributes
- The extracted attributes that relate to this entity.
$sel:endOffset: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.
$sel:id: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.
$sel:type':Entity'
, entity_type
- Describes the specific type of entity with category of entities.
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_text :: Lens' Entity (Maybe Text) Source #
The segment of input text extracted as this entity.
entity_category :: Lens' Entity (Maybe EntityType) Source #
The category of the entity.
entity_score :: Lens' Entity (Maybe Double) Source #
The level of confidence that Amazon Comprehend Medical has in the accuracy of the detection.
entity_attributes :: Lens' Entity (Maybe [Attribute]) Source #
The extracted attributes that relate to this 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_type :: Lens' Entity (Maybe EntitySubType) Source #
Describes the specific type of entity with category of entities.