ml#DocumentTokenSplitter.setNumTokens"><span class="viewcode-link"><span class="pre">[source]</span></span></a><a class="headerlink" href="#sparknlp.annotator.document_token_splitter.DocumentTokenSplitter.setNumTokens" title="Permalink to this definition">#</a></dt>
<dd><p>Sets the limit of the number of tokens in a text</p>
<dl class="field-list simple">
<dt class="field-odd">Parameters<span class="colon">:</span></dt>
<dd class="field-odd"><dl class="simple">
<dt><strong>value</strong><span class="classif