an><span class="n">tokens</span><span class="p">):</span>
            <span class="k">raise</span> <span class="ne">ValueError</span><span class="p">(</span><span class="s2">&quot;All value lists must have the same length as the tokens list&quot;</span><span class="p">)</span>

    <span class="k">if</span> <span class="n">token_info</span> <span class="ow">is</span> <span class="ow">not</span> <span class="kc">None</span> <span class="ow">and</span> <span class="nb">len</span><span class="p">(</span><span 