Class StopList

  • All Implemented Interfaces:
    TermAnalyzerIF

    public class StopList
    extends Object
    implements TermAnalyzerIF
    INTERNAL: A set of words considered "stop words" in a particular language.
    • Field Detail

      • stopFactor

        protected double stopFactor
    • Constructor Detail

      • StopList

        public StopList​(String filename)
        INTERNAL: Loads the stop list as a resource. The format of the stop list is a plain text file with one word per line.
      • StopList

        public StopList​(File file)
        INTERNAL: Loads the stop list from a file. The format of the stop list is a plain text file with one word per line.