medkit.core.text.entity_attribute_container#

Classes:

EntityAttributeContainer(ann_id)

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:

norms

Return the list of normalization attributes

Methods:

get_norms()

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]