类 NullStemmer

java.lang.Object
weka.core.stemmers.NullStemmer
所有已实现的接口:
Serializable, RevisionHandler, Stemmer

public class NullStemmer extends Object implements Stemmer
A dummy stemmer that performs no stemming at all.

版本:
$Revision: 1.5 $
作者:
FracPete (fracpete at waikato dot ac dot nz)
另请参阅:
  • 构造器详细资料

    • NullStemmer

      public NullStemmer()
  • 方法详细资料

    • globalInfo

      public String globalInfo()
      Returns a string describing the stemmer
      返回:
      a description suitable for displaying in the explorer/experimenter gui
    • stem

      public String stem(String word)
      Returns the word as it is.
      指定者:
      stem 在接口中 Stemmer
      参数:
      word - the unstemmed word
      返回:
      the unstemmed word, again
    • toString

      public String toString()
      returns a string representation of the stemmer
      覆盖:
      toString 在类中 Object
      返回:
      a string representation of the stemmer
    • getRevision

      public String getRevision()
      Returns the revision string.
      指定者:
      getRevision 在接口中 RevisionHandler
      返回:
      the revision
    • main

      public static void main(String[] args)
      Runs the stemmer with the given options
      参数:
      args - the options