medkit.core.text.entity_attribute_container
medkit.core.text.entity_attribute_container#
Classes:
|
Manage a list of attributes attached to a text entity. |
- class EntityAttributeContainer(ann_id)[source]#
Manage a list of attributes attached to a text entity.
This behaves more or less like a list: calling len() and iterating are supported. Additional filtering is available through the get() method.
Also provides retrieval of normalization attributes.
Attributes:
Return the list of normalization attributes
Methods:
Return a list of the normalization attributes of the annotation
- property norms: List[medkit.core.text.entity_norm_attribute.EntityNormAttribute]#
Return the list of normalization attributes
- Return type
List[EntityNormAttribute]
- get_norms()[source]#
Return a list of the normalization attributes of the annotation
- Return type
List[EntityNormAttribute]