URL compiledURL; URL addendaURL; URL letterToSoundURL;  LetterToSound letterToSound; Class cls = CMULexicon.class; CMULexicon lexicon;   if (useBinaryIO) { letterToSoundURL = cls.getResource("cmu6_lts.bin"); compiledURL = cls.getResource("cmulex_compiled.bin"); addendaURL = cls.getResource("cmulex_addenda.bin"); } else { letterToSoundURL = cls.getResource("cmu6_lts.txt"); compiledURL = cls.getResource("cmulex_compiled.txt"); addendaURL = cls.getResource("cmulex_addenda.txt"); } lexicon = new CMULexicon(compiledURL, addendaURL, letterToSoundURL, useBinaryIO); lexicon.load(); return lexicon;
return getInstance("cmulex", useBinaryIO);
    static public CMULexicon getInstance( boolean useBinaryIO) 						throws IOException {	URL compiledURL;	URL addendaURL;	URL letterToSoundURL;	LetterToSound letterToSound;	Class cls = CMULexicon.class;	CMULexicon lexicon;		if (useBinaryIO) {	    letterToSoundURL = cls.getResource("cmu6_lts.bin");	    compiledURL = cls.getResource("cmulex_compiled.bin");	    addendaURL = cls.getResource("cmulex_addenda.bin");	}	else {	    letterToSoundURL = cls.getResource("cmu6_lts.txt");	    compiledURL = cls.getResource("cmulex_compiled.txt");	    addendaURL = cls.getResource("cmulex_addenda.txt");	}	lexicon = new CMULexicon(compiledURL, addendaURL,		letterToSoundURL, useBinaryIO);	lexicon.load();        return lexicon;    }