// remove selectional literals since they already have done their job
input.removeSelectionalLiterals();
if (GeneratorOption.USE_FILTERING)
{
PolarityFiltering filter = new DLXFiltering();
//PolarityFiltering filter = new PolarityFilteringSimple();
//PolarityFiltering filter = new PolarityFilteringKow();
Set<GrammarEntries> filtered = filter.filter(new PolarityKey(new FeatureConstant(Utils.splitAndTrim(GeneratorOption.FILTERING_CATEGORIES))),
input, ret);
logFilteredResults(filtered);
return new LexicalSelectionResult(input, filtered);
}
else