 == &#34;standard&#34;
        and TU.is_nospace_lang(lang)
        and not TU.is_chinese(lang)
    )
    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>
</dd>
<dt id="ktrain.text.data.texts_from_array"><code class="name flex">
<span>def <span class="ident">texts_from_array</span></span>(<span>x_train, y_train, x_test=None