String token = tokenizer.nextToken();
// look up token in map to see if it is an acronym
String expandedForm = mMap.get(token);
if (expandedForm != null) {
// create annotation
UimaAcronym annot = new UimaAcronym(aJCas, pos, pos + token.length(), expandedForm);
annot.addToIndexes();
}
// incrememnt pos and go to next token
pos += token.length();
}
}