flair.datasets.biomedical.DpEntry#

class flair.datasets.biomedical.DpEntry(position_end, entity_count, entity_lengths_sum, last_entity)View on GitHub#

Bases: NamedTuple

__init__()#

Methods

__init__()

count(value, /)

Return number of occurrences of value.

index(value[, start, stop])

Return first index of value.

Attributes

entity_count

Alias for field number 1

entity_lengths_sum

Alias for field number 2

last_entity

Alias for field number 3

position_end

Alias for field number 0

position_end: int#

Alias for field number 0

entity_count: int#

Alias for field number 1

entity_lengths_sum: int#

Alias for field number 2

last_entity: Optional[Entity]#

Alias for field number 3