output[i] = prepareNewReading(toks, output[i].getToken(), output[i], false);
output[finalLen] = prepareNewReading(toks,
anTokens[finalLen].getToken(), output[finalLen], true);
}
} else {
<BUG>if (j>1 && !anTokens[j-1].isWhitespace()) { //avoid multiple whitespaces
</BUG>
tokens.append(' ');
lenCounter++;
}

output[i] = prepareNewReading(toks, output[i].getToken(), output[i], false);
output[finalLen] = prepareNewReading(toks,
anTokens[finalLen].getToken(), output[finalLen], true);
}
} else {
if (j > 1 && !anTokens[j-1].isWhitespace()) { //avoid multiple whitespaces
tokens.append(' ');
lenCounter++;
}
