@@ -0,0 +1,1120 @@
+package com.heynt.permutation.tests;%0A%0Aimport java.io.IOException;%0Aimport java.util.Arrays;%0A%0Aimport org.apache.commons.io.IOUtils;%0A%0A/**%0A * Can be used to perform tests on the dictionary%0A * %0A * @author cnibley%0A *%0A */%0Apublic class EnglishWordsTest%0A%7B%0A    private static final String DICTIONARY_FILE = %22dict/english_words.txt%22;%0A%0A    public static void main(String%5B%5D args)%0A    %7B%0A        EnglishWordsTest test = new EnglishWordsTest();%0A        String dict = test.getFile(DICTIONARY_FILE);%0A%0A        test.printDictionary(dict);%0A    %7D%0A%0A    private void printDictionary(String dict)%0A    %7B%0A        String%5B%5D separated = dict.split(%22%5Cn%22);%0A%0A        for (String word : Arrays.asList(separated))%0A        %7B%0A            System.out.println(word);%0A        %7D%0A    %7D%0A%0A    private String getFile(String fileName)%0A    %7B%0A        String result = %22%22;%0A        final ClassLoader classLoader = getClass().getClassLoader();%0A        try%0A        %7B%0A            result = IOUtils.toString(classLoader.getResourceAsStream(fileName));%0A        %7D%0A        catch (IOException e)%0A        %7B%0A            e.printStackTrace();%0A        %7D%0A        return result;%0A    %7D%0A%0A%7D%0A

Read in all english words