<commit_before>import argparse

from rasa.cli.arguments.default_arguments import (
    add_model_param,
    add_data_param,
    add_config_param,
)
from rasa.cli.arguments.run import add_server_arguments
from rasa.constants import DEFAULT_DATA_PATH, DEFAULT_RASA_X_PORT


def set_x_arguments(parser: argparse.ArgumentParser):
    add_model_param(parser, add_positional_arg=False)

    add_data_param(parser, default=DEFAULT_DATA_PATH, data_type="stories and Rasa NLU ")
    add_config_param(parser)

    parser.add_argument(
        "--no-prompt",
        action="store_true",
        help="Automatic yes or default options to prompts and oppressed warnings.",
    )

    parser.add_argument(<commit_msg>Import module, not its functions<commit_after>import argparse
from rasa.cli.arguments import default_arguments
from rasa.cli.arguments.run import add_server_arguments
from rasa.constants import DEFAULT_DATA_PATH, DEFAULT_RASA_X_PORT


def set_x_arguments(parser: argparse.ArgumentParser):
    default_arguments.add_model_param(parser, add_positional_arg=False)

    default_arguments.add_data_param(
        parser, default=DEFAULT_DATA_PATH, data_type="stories and Rasa NLU "
    )
    default_arguments.add_config_param(parser)

    parser.add_argument(
        "--no-prompt",
        action="store_true",
        help="Automatic yes or default options to prompts and oppressed warnings.",
    )

    parser.add_argument(
{'fraction_non_alphanumeric': 0.0756832515767344, 'fraction_numerical': 0.0, 'mean_word_length': 4.578125, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3184125', 'n_tokens_mistral': 440, 'n_tokens_neox': 426, 'n_words': 88}