Entity
¶
Source code in docs_src/capo_comprehendmedical/types/entity.py
attributes
instance-attribute
¶
attributes: NotRequired[AttributeList]
The extracted attributes that relate to this entity.
begin_offset
instance-attribute
¶
begin_offset: NotRequired[Integer]
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.
end_offset
instance-attribute
¶
end_offset: NotRequired[Integer]
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.
id
instance-attribute
¶
id: NotRequired[Integer]
The numeric identifier for the entity. This is a monotonically increasing id unique within this response rather than a global unique identifier.
score
instance-attribute
¶
score: NotRequired[Float]
The level of confidence that Amazon Comprehend Medical has in the accuracy of the detection.
text
instance-attribute
¶
text: NotRequired[String]
The segment of input text extracted as this entity.
type
instance-attribute
¶
type: NotRequired[EntitySubType]
Describes the specific type of entity with category of entities.