~ubuntu-branches/ubuntu/raring/weka/raring

« back to all changes in this revision

Viewing changes to weka/core/stemmers/Stemming.java

  • Committer: Bazaar Package Importer
  • Author(s): Torsten Werner, Soeren Sonnenburg, Torsten Werner
  • Date: 2008-08-10 21:27:05 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20080810212705-tr8etpnkdx2ziktp
Tags: 3.5.8-1
[ Soeren Sonnenburg ]
* Bump Standards Version to 3.8.0.
* Remove references to non-free Java in debian/copyright.

[ Torsten Werner ]
* new upstream release
* Switch to openjdk-6.
* Move package to main.

Show diffs side-by-side

added added

removed removed

Lines of Context:
24
24
 
25
25
import weka.core.Option;
26
26
import weka.core.OptionHandler;
 
27
import weka.core.RevisionHandler;
 
28
import weka.core.RevisionUtils;
27
29
import weka.core.Utils;
28
30
 
29
 
import java.io.Reader;
30
 
import java.io.Writer;
31
31
import java.io.BufferedReader;
32
32
import java.io.BufferedWriter;
33
33
import java.io.FileInputStream;
 
34
import java.io.FileOutputStream;
34
35
import java.io.InputStreamReader;
35
36
import java.io.OutputStreamWriter;
36
 
import java.io.FileOutputStream;
 
37
import java.io.Reader;
 
38
import java.io.Writer;
37
39
import java.util.Enumeration;
38
40
import java.util.Vector;
39
41
 
42
44
 * all the available options.
43
45
 *
44
46
 * @author  FracPete (fracpete at waikato dot ac dot nz)
45
 
 * @version $Revision: 1.2 $
 
47
 * @version $Revision: 1.3 $
46
48
 */
47
 
public class Stemming {
 
49
public class Stemming
 
50
  implements RevisionHandler {
48
51
 
49
52
  /**
50
53
   * lists all the options on the command line
180
183
    }
181
184
    output.flush();
182
185
  }
 
186
  
 
187
  /**
 
188
   * Returns the revision string.
 
189
   * 
 
190
   * @return            the revision
 
191
   */
 
192
  public String getRevision() {
 
193
    return RevisionUtils.extract("$Revision: 1.3 $");
 
194
  }
183
195
}