Token nextToken = input.next(reusableToken);
if (nextToken == null)
return null;
String term = nextToken.term();
// Check the exclusion table.
if (exclusionSet == null || !exclusionSet.contains(term)) {
String s = stemmer.stem(term);
// If not stemmed, don't waste the time adjusting the token.
if ((s != null) && !s.equals(term))