categoryName = "Entry_" + ii;
ii++;
}
cat = new CategoryNodeImpl(categoryName);
try {
dict.addCategory(cat, dict.getDictionaryRoot());
} catch (DuplicateException de){
errors.add(new BadPattern(lineNumber, trimmed, true));
}
} else if (trimmed.length() > 0) {
// no need to fix these for a SubString match-using dictionary