Class StopList

java.lang.Object
net.ontopia.topicmaps.classify.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 Details

    • stopList

      protected Collection<String> stopList
    • stopFactor

      protected double stopFactor
  • Constructor Details

    • 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.
  • Method Details