<commit_before>package owltools2;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

/**
 * Entry point for OWLTools2 command-line interface.
 *
 * @author <a href="mailto:<EMAIL>"><NAME></a>
 */
public class CommandLineInterface {
    /**
     * Logger.
     */
    private static final Logger logger =
        LoggerFactory.getLogger(CommandLineInterface.class);

    /**
     * Given command-line arguments, construct a new CommandManager
     * and execute it.
     *
     * @param args the command-line arguments
     */
    public static void main(String[] args) {
        CommandManager manager = new CommandManager();

        // Add more commands as needed
        manager.addCommand("extract", new ExtractCommand());

        manager.main(args);
    }<commit_msg>Add execute() method to CommandLineInterface<commit_after>package owltools2;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

/**
 * Entry point for OWLTools2 command-line interface.
 *
 * @author <a href="mailto:<EMAIL>"><NAME></a>
 */
public class CommandLineInterface {
    /**
     * A CommandManager loaded with the default set of commands.
     */
    private static CommandManager manager = new CommandManager();

    /**
     * Logger.
     */
    private static final Logger logger =
        LoggerFactory.getLogger(CommandLineInterface.class);

    /**
     * Construct a CommandManager with a set of default commands.
     */
    public CommandLineInterface() {
        // Add more commands as needed
        manager.addCommand("extract", new ExtractCommand());
    }

    /**
     * Execute the given command-line arguments, catching any exceptions.
     *
     * @param args the command-line arguments
     */
    public static void main(String[] args) {
        manager.main(args);
    }

    /**
     * Execute the given command-line arguments, throwing any exceptions.
     *
     * @param args the command-line arguments
     * @throws Exception on any problem
     */
    public static void execute(String[] args) throws Exception {
        manager.execute(null, args);
    }
{'fraction_non_alphanumeric': 0.10508637236084453, 'fraction_numerical': 0.003838771593090211, 'mean_word_length': 2.7232142857142856, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 11, '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': '6615095', 'n_tokens_mistral': 565, 'n_tokens_neox': 554, 'n_words': 167}