Examples of DLXFiltering


Examples of synalp.generation.jeni.filtering.dlx.DLXFiltering

    // 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
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.