类 Stemming

java.lang.Object
weka.core.stemmers.Stemming
所有已实现的接口:
RevisionHandler

public class Stemming extends Object implements RevisionHandler
A helper class for using the stemmers. Run with option '-h' to list all the available options.
版本:
$Revision: 1.3 $
作者:
FracPete (fracpete at waikato dot ac dot nz)
  • 构造器详细资料

    • Stemming

      public Stemming()
  • 方法详细资料

    • useStemmer

      public static void useStemmer(Stemmer stemmer, String[] options) throws Exception
      Applies the given stemmer according to the given options. '-h' lists all the available options for the given stemmer.
      参数:
      stemmer - the stemmer to use
      options - the options for the stemmer
      抛出:
      Exception - if something goes wrong
    • getRevision

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