Iterator<DependencyPath> pathIter =
new FilteredDependencyIterator(nodes[i], acceptor, 1);
while (pathIter.hasNext()) {
DependencyPath path = pathIter.next();
DependencyTreeNode last = path.last();
// Reject words that are not nouns, verbs, or adjectives.
if (!(last.pos().startsWith("N") ||
last.pos().startsWith("J") ||
last.pos().startsWith("V")))