public ArrayList generateTokens(String docContents, String tokenizationType) {

        ArrayList<String> tokens = new ArrayList<>();
       
        if (tokenizationType.equals("1-Grams")) {
            tokens = generateOneGrams(docContents);

        } else if (tokenizationType.equals("Bi-Grams")) {
            tokens = generateTwoGrams(docContents);

        } else if (tokenizationType.equals("3-Grams")) {
            tokens = generateThreeGrams(docContents);

        } else if (tokenizationType.equals("4-Grams")) {
            tokens = generateFourGrams(docContents);

        } else if (tokenizationType.equals("1-Grams plus WhiteSpace")) {
            tokens = generateOneGramsPlusWhiteSpace(docContents);

        } else if (tokenizationType.equals("White Space")) {
            tokens = generateSpaces(docContents);

        } else if (tokenizationType.equals("Java Syntax")) {
            tokens = splitOnJavaSyntax(docContents);
        }
        //System.out.println("tokengen: " + tokens.get(0));
        return tokens;
    }