text: public void parse(Reader in) throws IOException, ParseException {LineNumberReader br = new LineNumberReader(in);try {String line = null;String lastSynSetID = "";CharsRef synset[] = new CharsRef[8];int synsetSize = 0;while ((line = br.readLine()) != null) {String synSetID = line.substring(2, 11);if (!synSetID.equals(lastSynSetID)) {addInternal(synset, synsetSize);synsetSize = 0;}synset = ArrayUtil.grow(synset, synsetSize + 1);synset[synsetSize] = parseSynonym(line, new CharsRefBuilder());synsetSize++;lastSynSetID = synSetID;}addInternal(synset, synsetSize);} catch (IllegalArgumentException e) {ParseException ex = new ParseException("Invalid synonym rule at line " + br.getLineNumber(), 0);ex.initCause(e);throw ex;} finally {br.close();}}