          end: end offset of the span
          immediately: if true checks if this annotation starts immediately after the other one (Default value = False)

        Returns:
          True if after, False otherwise

        &#34;&#34;&#34;
        if immediately:
            return self.start == end
        return self.start &gt;= end

    @support_annotation_or_set
    def gap(self, start: int, end: int):
        &#34;&#34;&#34;
        Return the gep between this span and the other span. This is the dis