 split will be random.
        verbose (boolean): verbosity
    ```
    &#34;&#34;&#34;
    U.check_array(x_train, y=y_train, X_name=&#34;x_train&#34;, y_name=&#34;y_train&#34;)

    if x_test is None or y_test is None:
        x_train, x_test, y_train, y_test = train_test_split(
            x_train, y_train, test_size=val_pct, random_state=random_state
        )
    else:
        U.check_array(x_test, y=y_test, X_name=&#34;x_test&#34;, y_name=&#34;y_test&#34;)

    # removed as TextPreprocessor now handles