666768697071727374
postags[i] = tokens[2]; heads[i] = Integer.parseInt(tokens[3])-1; } next = new Sentence(forms, postags, heads); next.setSource(source); } }
7677787980818283848586
public boolean hasNext() { return (next != null); } public Instance next() { Sentence cur = next; try { advance(); } catch (IOException e) { e.printStackTrace(); }