<commit_before>package com.bbn.kbp.events2014.bin;

import com.bbn.bue.common.parameters.Parameters;
import com.bbn.bue.common.symbols.Symbol;
import com.bbn.kbp.events2014.AnswerKey;
import com.bbn.kbp.events2014.SystemOutput;
import com.bbn.kbp.events2014.io.AnnotationStore;
import com.bbn.kbp.events2014.io.AssessmentSpecFormats;
import com.bbn.kbp.events2014.io.SystemOutputStore;
import com.bbn.kbp.events2014.transformers.KeepBestJustificationOnly;
import com.google.common.base.Function;
import com.google.common.base.Functions;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import java.io.File;
import java.io.IOException;

public final class ImportSystemOutputToAnnotationStore {
    private static final Logger log =
            LoggerFactory.getLogger(ImportSystemOutputToAnnotationStore.class);

    public static void main(final String[] argv) {
        try {
            trueMain(argv);
        } catch (Exception e) {
            // ensure non-zero return on failure
            e.printStackTrace();
            System.exit(1);
        }
    }

    private static final void usage() {
        log.error("\nusage: importSystemOutputToAnnotationStore paramFile\n" +
        "Parameters are:\n"+
                "\tsystemOutput: system output store to import\n" +
                "\tannotationStore: destination annotation store (existing or new)\n" +
                "\timportOnlyBestAnswers: imports only the answer the score would select (recommended: true)"
        );
    }

    private static void trueMain(final String[] argv) throws IOException {
        if (argv.length == 1) {<commit_msg>Cleanup: Add private constructor to non-instantiable class<commit_after>package com.bbn.kbp.events2014.bin;

import com.bbn.bue.common.parameters.Parameters;
import com.bbn.bue.common.symbols.Symbol;
import com.bbn.kbp.events2014.AnswerKey;
import com.bbn.kbp.events2014.SystemOutput;
import com.bbn.kbp.events2014.io.AnnotationStore;
import com.bbn.kbp.events2014.io.AssessmentSpecFormats;
import com.bbn.kbp.events2014.io.SystemOutputStore;
import com.bbn.kbp.events2014.transformers.KeepBestJustificationOnly;
import com.google.common.base.Function;
import com.google.common.base.Functions;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import java.io.File;
import java.io.IOException;

public final class ImportSystemOutputToAnnotationStore {
    private static final Logger log =
            LoggerFactory.getLogger(ImportSystemOutputToAnnotationStore.class);

    private ImportSystemOutputToAnnotationStore() {
        throw new UnsupportedOperationException();
    }

    public static void main(final String[] argv) {
        try {
            trueMain(argv);
        } catch (Exception e) {
            // ensure non-zero return on failure
            e.printStackTrace();
            System.exit(1);
        }
    }

    private static final void usage() {
        log.error("\nusage: importSystemOutputToAnnotationStore paramFile\n" +
        "Parameters are:\n"+
                "\tsystemOutput: system output store to import\n" +
                "\tannotationStore: destination annotation store (existing or new)\n" +
                "\timportOnlyBestAnswers: imports only the answer the score would select (recommended: true)"
        );
    }

    private static void trueMain(final String[] argv) throws IOException {
        if (argv.length == 1) {
{'fraction_non_alphanumeric': 0.09673625404292856, 'fraction_numerical': 0.018817994707438987, 'mean_word_length': 3.2, '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': '4338092', 'n_tokens_mistral': 1023, 'n_tokens_neox': 956, 'n_words': 217}