Exmaralda-Org / exmaralda

27 stars 15 forks source link

Order of timeline items in EAF import can be mixed up #494

Closed berndmoos closed 3 weeks ago

berndmoos commented 1 month ago

Funny no one ever noticed: ELAN does not seem to guarantee that the order of timeline items is consistent with absolut times, so you can have:

        <TIME_SLOT TIME_SLOT_ID="ts139" TIME_VALUE="186508"/>
        <TIME_SLOT TIME_SLOT_ID="ts140" TIME_VALUE="200962"/>
        <TIME_SLOT TIME_SLOT_ID="ts141" TIME_VALUE="198876"/>
        <TIME_SLOT TIME_SLOT_ID="ts142" TIME_VALUE="201092"/>
        <TIME_SLOT TIME_SLOT_ID="ts143" TIME_VALUE="0"/>
        <TIME_SLOT TIME_SLOT_ID="ts144" TIME_VALUE="15533"/>
        <TIME_SLOT TIME_SLOT_ID="ts145" TIME_VALUE="0"/>
        <TIME_SLOT TIME_SLOT_ID="ts146" TIME_VALUE="15533"/>
        <TIME_SLOT TIME_SLOT_ID="ts147" TIME_VALUE="15533"/>

The import should be aware of this.