lex.dumpBinary("cmulex");
lex.dumpBinary(baseName);
    public static void main(String[] args) {	LexiconImpl lex, lex2;	boolean showTimes = false;	try {	    if (args.length > 0) {		BulkTimer.LOAD.start();		for (int i = 0 ; i < args.length; i++) {		    if (args[i].equals("-generate_binary")) {			 BulkTimer.LOAD.start("load_text");			 lex = CMULexicon.getInstance(false);			 BulkTimer.LOAD.stop("load_text");			 BulkTimer.LOAD.start("dump_text");			 lex.dumpBinary("cmulex");			 BulkTimer.LOAD.stop("dump_text");		    } else if (args[i].equals("-compare")) {			BulkTimer.LOAD.start("load_text");			lex = CMULexicon.getInstance(false);			BulkTimer.LOAD.stop("load_text");			BulkTimer.LOAD.start("load_binary");			lex2 = CMULexicon.getInstance(true);			BulkTimer.LOAD.stop("load_binary");			BulkTimer.LOAD.start("compare");			lex.compare(lex2);			BulkTimer.LOAD.stop("compare");		    } else if (args[i].equals("-showtimes")) {			showTimes = true;		    } else {			System.out.println("Unknown option " + args[i]);		    }		}		BulkTimer.LOAD.stop();		if (showTimes) {		    BulkTimer.LOAD.show("CMULexicon 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);	}    }