   if unsupported:
        raise ValueError(
            &#34;language %s is currently only supported by the BERT model. &#34; % (lang)
            + &#39;Please select preprocess_mode=&#34;bert&#34;&#39;
        )</code></pre>
</details>
</section>
<section>
</section>
<section>
</section>
<section>
<h2 class="section-title" id="header-functions">Functions</h2>
<dl>
<dt id="ktrain.text.data.check_unsupported_lang"><code class="name flex">
<span>def <span class="ident">check_unsupported_lang</span></span>(<