        eoff = soff + slen
            if i &lt; rem:
                eoff += 1
            spans.append(Span(soff, eoff))
            soff = eoff
        return spans
    else:  # n &gt; l, more to embed than there are characters
        rem = n - l
        spans = [Span(start + i, start + i + 1) for i in range(l)]
        for i in range(rem):
            spans.append(Span(end - 1, end))
        return spans</code></pre>
</details>
</dd>
</dl>
<h3>Instance variables</h3>
<dl>
<dt id="gatenlp.span.Span.end"