Example usage for weka.core.stemmers Stemming useStemmer

List of usage examples for weka.core.stemmers Stemming useStemmer

Introduction

In this page you can find the example usage for weka.core.stemmers Stemming useStemmer.

Prototype

public static void useStemmer(Stemmer stemmer, String[] options) throws Exception 

Source Link

Document

Applies the given stemmer according to the given options.

Usage

From source file:StemmerOverRide.java

License:Open Source License

/**
 * Runs the stemmer with the given options
 *
 * @param args      the options/*from   w w  w.j av a 2  s .c o  m*/
 */
public static void main(String[] args) {
    try {
        Stemming.useStemmer(new LovinsStemmer(), args);
    } catch (Exception e) {
        e.printStackTrace();
    }
}