def _get_extensions(self):
    extensions = []
    if self.options.get('force_fulltext', False):
        extensions.append('--force_fulltext')
    if self.options.get('prioritize', False):
        extensions.append('--read_best_fulltext')
    max_reach_input_len = self.options.get('max_reach_input_len')
    max_reach_space_ratio = self.options.get('max_reach_space_ratio')
    if (max_reach_input_len is not None):
        extensions += ['--max_reach_input_len', max_reach_input_len]
    if (max_reach_space_ratio is not None):
        extensions += ['--max_reach_space_ratio', max_reach_space_ratio]
    return extensions
def _get_extensions(self):
    extensions = []
    if self.options.get('force_fulltext', False):
        extensions.append('--force_fulltext')
    if self.options.get('prioritize', False):
        extensions.append('--read_best_fulltext')
    max_reach_input_len = self.options.get('max_reach_input_len')
    max_reach_space_ratio = self.options.get('max_reach_space_ratio')
    if (max_reach_input_len is not None):
        extensions += ['--max_reach_input_len', max_reach_input_len]
    if (max_reach_space_ratio is not None):
        extensions += ['--max_reach_space_ratio', max_reach_space_ratio]
    return extensions