ass="nb">str</span><span class="p">],</span> <span class="n">segment_sq_brackets</span><span class="o">=</span><span class="kc">True</span>
<span class="p">)</span> <span class="o">-&gt;</span> <span class="n">List</span><span class="p">[</span><span class="n">List</span><span class="p">[</span><span class="nb">str</span><span class="p">]]:</span>
    <span class="sd">&quot;&quot;&quot;Segment a batch of SMILES strings into tokens.</span>

<span class="sd">    Parameters</span>
<span class="sd">    --------