      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>
</section>
<section>
</section>
<section>
</section>
<section>
</section>
<section>
<h2 class="section-title" id="header-classes">Classes</h2>
<dl>
<dt id="gatenlp.span.Span"><