Skip to content

Begin and End of spans #29

@SarehAghaei

Description

@SarehAghaei

When the beginning and end of spans are not the same, I encounter an error when calculating Krippendorff.
For instance, this error arises when working with the following matrix/dataframe.

begin end annotation
84 95 c1
96 100 c3
84 95 c1
96 99 c3

The error arises due to a RuntimeWarning indicating an invalid value encountered during scalar division. Specifically, it occurs at the calculation step: 1 - (o * d).sum() / (e * d).sum()

krippendorff.py:364

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions