quot;&quot;</span>

<span class="kn">import</span> <span class="nn">re</span>

<span class="n">ALLOWED_SYMBOLS</span> <span class="o">=</span> <span class="nb">list</span><span class="p">(</span><span class="s2">&quot;abcdefghijklmnopqrstuvwxyz1234567890-&quot;</span><span class="p">)</span>
<span class="n">CHARACTERS_TO_SPLIT</span> <span class="o">=</span> <span class="s2">&quot;&quot;&quot;.,():;!?</span><span class="se">\n</span><span class="s2">`&#39;=+/\[]}{|&gt;&lt;@#$%^&amp;*_&quot;&quot;&quot;</spa