Closed nnnone closed 11 years ago
URL url = getClass().getResource("/genetag/ne-en-bio-genetag.HmmChunker"); ObjectInputStream in = new ObjectInputStream(url.openStream()); Chunker chunker = (Chunker) in.readObject(); in.close();