def get_topic_model_options(defaults=None):
    """Adding arguments for the topic model subcommand

    """
    if defaults is None:
        defaults = {}
    options = {'--topic-fields': {'action': 'store', 'dest': 'topic_fields',
        'default': defaults.get('topic_fields', None), 'help':
        'Comma-separated list of input fields (predictors) to create the topic model.'
        }, '--topic-model': {'action': 'store', 'dest': 'topic_model',
        'default': defaults.get('topic_model', None), 'help':
        'BigML topic model Id.'}, '--topic-models': {'action': 'store',
        'dest': 'topic_models', 'default': defaults.get('topic_models',
        None), 'help':
        'Path to a file containing topicmodel/ids. One topicmodel per line (e.g., topicmodel/50a206a8035d0706dc000376).'
        }, '--topic-model-file': {'action': 'store', 'dest':
        'topic_model_file', 'default': defaults.get('topic_model_file',
        None), 'help': 'BigML topic model JSON structure file.'},
        '--bigrams': {'action': 'store_true', 'dest': 'bigrams', 'default':
        defaults.get('bigrams', False), 'help':
        'Whether to include a contiguous sequence of two items from a given sequence of text.'
        }, '--case-sensitive': {'action': 'store_true', 'dest':
        'case_sensitive', 'default': defaults.get('case_sensitive', False),
        'help': 'Whether the analysis is case-sensitive or not.'},
        '--excluded-terms': {'action': 'store', 'dest': 'excluded_terms',
        'default': defaults.get('excluded_terms', None), 'help':
        'Comma-separated list of terms to be excluded from text analysis.'},
        '--number-of-topics': {'action': 'store', 'dest':
        'number_of_topics', 'type': int, 'default': defaults.get(
        'number_of_topics', None), 'help':
        'Number of topics to be generated for the model.'},
        '--minimum-name-terms': {'action': 'store', 'dest':
        'minimum_name_terms', 'type': int, 'default': defaults.get(
        'minimum_name_terms', None), 'help':
        'Number of terms to be used to name the topic.'}, '--term-limit': {
        'action': 'store', 'dest': 'term_limit', 'type': int, 'default':
        defaults.get('term_limit', 4096), 'help':
        'The maximum number of terms used for the topic model vocabulary.'},
        '--top-n-terms': {'action': 'store', 'dest': 'top_n_terms', 'type':
        int, 'default': defaults.get('top_n_terms', 10), 'help':
        'The size of the most influential terms recorded.'},
        '--use-stopwords': {'action': 'store_true', 'dest': 'use_stopwords',
        'default': defaults.get('use_stopwords', False), 'help':
        'Whether to use stop words.'}, '--no-topic-model': {'action':
        'store_true', 'dest': 'no_topic_model', 'default': defaults.get(
        'no_topic_model', False), 'help': 'Do not create a topic model.'},
        '--no-no-topic-model': {'action': 'store_false', 'dest':
        'no_topic_model', 'default': defaults.get('no_topic_model', False),
        'help': 'Create a topic model.'}, '--topic-model-attributes': {
        'action': 'store', 'dest': 'topic_model_attributes', 'default':
        defaults.get('topic_model_attributes', None), 'help':
        'Path to a json file describing topic model attributes.'}}
    return options
