rimWhitespace</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">value</span></span></em><span class="sig-paren">)</span><a class="reference internal" href="../../../../../modules/sparknlp/annotator/document_token_splitter.html#DocumentTokenSplitter.setTrimWhitespace"><span class="viewcode-link"><span class="pre">[source]</span></span></a><a class="headerlink" href="#sparknlp.annotator.document_token_splitter.DocumentTokenSplitter.setTrimWhitespace" title="P