<commit_before>package nl.mpi.kinnate.gedcomimport;

import java.io.File;
import java.net.URI;
import java.util.ArrayList;
import java.util.HashMap;
import javax.swing.JProgressBar;
import javax.swing.JTextArea;
import nl.mpi.kinnate.uniqueidentifiers.UniqueIdentifier;

/**
 *  Document   : GenericImporter
 *  Created on : May 30, 2011, 10:31:15 AM
 *  Author     : <NAME>
 */
public interface GenericImporter {

    public boolean canImport(String inputFileString);

    public HashMap<String, ArrayList<UniqueIdentifier>> getCreatedNodeIds();

    public void setProgressBar(JProgressBar progressBarLocal);

    public URI[] importFile(JTextArea importTextArea, File inputFile);

    public URI[] importFile(JTextArea importTextArea, String inputFileString);
}
<commit_msg>Made the importers more generic. Updated the CSV importer to handle more of the formats obscure data.<commit_after>package nl.mpi.kinnate.gedcomimport;

import java.io.File;
import java.net.URI;
import java.util.ArrayList;
import java.util.HashMap;
import nl.mpi.kinnate.uniqueidentifiers.UniqueIdentifier;

/**
 *  Document   : GenericImporter
 *  Created on : May 30, 2011, 10:31:15 AM
 *  Author     : <NAME>
 */
public interface GenericImporter {

    public boolean canImport(String inputFileString);

    public HashMap<String, ArrayList<UniqueIdentifier>> getCreatedNodeIds();

    public URI[] importFile(File inputFile);

    public URI[] importFile(String inputFileString);
}

{'fraction_non_alphanumeric': 0.09637730690362269, 'fraction_numerical': 0.016404647983595352, 'mean_word_length': 4.903225806451613, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, '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': '5013354', 'n_tokens_mistral': 456, 'n_tokens_neox': 424, 'n_words': 112}