2.14. How to detect annotation overlaps

In some cases you might want to have more information about annotation overlaps and their respective duration. There are two methods to detect overlaps. The first creates annotations from overlaps (see Section 2.14.1) and the second specifically aimed at comparing annotators (see Section 2.14.2).

2.14.1. Creating annotations from overlaps

Creating annotations from overlaps uses a wizard that has been developed to automatically detect annotation overlaps and optionally adds the length of the overlaps to the newly created annotations. This function can be started from Tier > Create Annotations from Overlaps…. This will open the Create Annotations From Overlaps window that is based on 4 steps.

  1. Step 1/4: File and Tier Selection

    Select the tiers to use in the overlaps computation. You can select all the tiers displayed in the list if you click on Select All, or deselect them if you click on Select None. Once you have made your choice for the tiers for which the overlaps should be found, you can select next, this will bring you to the next step.

    Create annotations from overlaps

    Figure 2.106. Create annotations from overlaps


    [Note]Note

    1. At least two tiers has to be selected in order to reach the second step.

    2. To check the option Select files from file browser or Select files from domain, see Section 1.9.2.4

  2. Step 2/4: Overlaps Computation Criteria

    In this step you can define the overlaps computation criteria in the Overlaps Computation Criteria window

    Overlaps Computation Criteria

    Figure 2.107. Overlaps Computation Criteria


    You can choose within 4:

    • Regardless of their annotation values. If this option is selected, all the possible overlaps will be computed.

    • And their annotation values are equal. If this option is selected, only the overlaps with the very same annotation values will be computed.

    • And their annotation values are different. If this option is selected, only the overlaps with different annotation values will be computed.

    • According to specified constraints. Select this option and click on Constraints... the Annotation Value Constraints dialogue window will be displayed:

      Annotation Value Constraint

      Figure 2.108. Annotation Value Constraint


      Here you can specify for which tiers you want the constraints to be applied by selecting the tiers from the drop down list and inserting the value they should contains. Then click Add: the constraints table will display the tiers you have selected together with the value they have to contain. Once you have made your selections, you can click OK to go back to the Overlaps Computation Criteria window and click Next to go to the third step.

  3. Step 3/4: Destination Tier Name Specification

    In order to create the annotation from overlaps, you have to define its destination tier. You first enter the name for the destination tier, and then select if you want it to be either a root tier, or a child of a parent tier. In the former case, you can select the Tier Type Name and Stereotype for the destination tier from the table. In the latter case, specify from the drop down list which tier you want to be the parent tier. In both cases, if there is no correct tier type available, you can create a new one which matches the destination tier by clicking the Add new type... button. You can now go to the next and last step, by selecting Next.

    Destination Tier Name Specification

    Figure 2.109. Destination Tier Name Specification


  4. Step 4/4: Destination Tier Value Specification

    Here you can specify the value for the destination tier.

    Destination Tier Value Specification

    Figure 2.110. Destination Tier Value Specification


    You have four options:

    • Specify the value for the destination tier. If selected, created annotations will be filled with the overlap duration. You can choose one of the following time format:

      1. Msec

      2. ss.msec

      3. hh:mm:ss.ms

      4. SMPTE Time code hh:mm:ss:ff (either PAL or NTSC drop frame)

    • A specific value If selected, you can enter the value for all annotations that are created.

    • Value from a specific tier. Here you can specify the tier (you can select it from the drop down list) whose annotation values will be used for the created annotations.

    • Concatenate the values of overlapping annotations. If selected, created annotations will be filled with the concatenated values of the overlapping annotations

      • Compute values by annotation time If selected, the values of the annotations are concatenated based on the begintime of the annotation.

      • Compute values from the tier in the selected order If selected, the values of the annotations are concatenated based on the selected tier order. The tiers can be moved up and down within the list using the buttons below the list.

    Finally, you can click on Finish. The new tier will be created and populated.