text.dumpBinary("cmu6_lts.bin");
text.dumpBinary(name + ".bin");
    public static void main(String[] args) {	LexiconImpl lex, lex2;	boolean showTimes = false;	try {	    if (args.length > 0) {		BulkTimer timer = new BulkTimer();		timer.start();		for (int i = 0 ; i < args.length; i++) {		    if (args[i].equals("-generate_binary")) {			 timer.start("load_text");			 LetterToSoundImpl text = new LetterToSoundImpl(				new URL("file:./cmu6_lts.txt"),  false);			 timer.stop("load_text");			 timer.start("dump_binary");			 text.dumpBinary("cmu6_lts.bin");			 timer.stop("dump_binary");		    } else if (args[i].equals("-compare")) {			timer.start("load_text");			 LetterToSoundImpl text = new LetterToSoundImpl(				new URL("file:./cmu6_lts.txt"),  false);			timer.stop("load_text");			timer.start("load_binary");			LetterToSoundImpl binary = new LetterToSoundImpl(				new URL("file:./cmu6_lts.bin"),  true);			timer.stop("load_binary");			timer.start("compare");			if (!text.compare(binary)) {			    System.out.println("NOT EQUIVALENT");			} else {			    System.out.println("ok");			}			timer.stop("compare");		    } else if (args[i].equals("-showtimes")) {			showTimes = true;		    } else {			System.out.println("Unknown option " + args[i]);		    }		}		timer.stop();		if (showTimes) {		    timer.show("LTS loading and dumping");		}	    } else {		System.out.println("Options: ");		System.out.println("    -compare");		System.out.println("    -generate_binary");		System.out.println("    -showTimes");	    }	} catch (IOException ioe) {	    System.err.println(ioe);	}    }