Documentation of 'weka.core.stopwords.RegExpFromFile' Java class
RegExpFromFile
weka.core.stopwords

Class RegExpFromFile

  • All Implemented Interfaces:
    java.io.Serializable, OptionHandler, StopwordsHandler


    public class RegExpFromFile
    extends AbstractFileBasedStopwords
    Uses the regular expressions stored in the file for determining whether a word is a stopword (ignored if pointing to a directory). One expression per line.

    Valid options are:

     -D
      If set, stopword scheme is run in debug mode and
      may output additional info to the console
     -stopwords <file>
      The file containing the stopwords (ignored if directory)
      (default: .)
    See Also:
    Serialized Form
    • Constructor Detail

      • RegExpFromFile

        public RegExpFromFile()
    • Method Detail

      • globalInfo

        public java.lang.String globalInfo()
        Returns a string describing the stopwords scheme.
        Specified by:
        globalInfo in class AbstractStopwords
        Returns:
        a description suitable for displaying in the gui
      • stopwordsTipText

        public java.lang.String stopwordsTipText()
        Returns the tip text for this property.
        Specified by:
        stopwordsTipText in class AbstractFileBasedStopwords
        Returns:
        tip text for this property suitable for displaying in the explorer/experimenter gui

DataMelt 3.0 © DataMelt by jWork.ORG

Ads help maintain this website.