package com.exubero.words;

import java.io.IOException;
import java.util.List;

public class Main {

    public static void main(String[] args) {
        System.out.println("Loading dictionary...");
        WordDictionary dictionary = loadDictionary();
        System.out.println("Looking up words for " + args[0]);
        List<String> words = dictionary.fullSearch(args[0]);
        System.out.println("Found:");
        int count = 0;
        for (String word : words) {
            System.out.println("\t" + ++count + ":\t" + word);
        }
    }

    private static WordDictionary loadDictionary() {
        try {
            return WordDictionary.loadFrom("/enable1.txt");
        }
        catch (IOException ex) {
            throw new RuntimeException("Unable to load dictionary: " + ex.getMessage());
        }
    }
}

@@ -143,61 +143,8 @@
 ) %7B%0A
-        System.out.println(%22Loading dictionary...%22);%0A
     
@@ -205,183 +205,59 @@
     
-System.out.println(%22Looking up words for %22 + args%5B0%5D);%0A        List%3CString%3E words = dictionary.fullSearch(args%5B0%5D);%0A        System.out.println(%22Found:%22);%0A        int count = 0
+List%3CString%3E words = dictionary.fullSearch(args%5B0%5D)
 ;%0A  
@@ -325,33 +325,8 @@
 tln(
-%22%5Ct%22 + ++count + %22:%5Ct%22 + 
 word

Remove extra verbose output