RiTa
index
Name RiStemmer
Description A simple stemmer for extracting base roots from a word by removing prefixes and suffixes. For example, the words 'run', 'runs', 'ran', and 'running' all have "run" as the root.
    String[] tests = { "run", "runs", "ran", "running" };
    RiStemmer stem = new RiStemmer(this);
    for (int i = 0; i < tests.length; i++)
      System.out.println(stem.stem(tests[i]));
 
Based on Martin Porter's stemmer algorithm detailed here: http://tartarus.org/~martin/PorterStemmer/
Constructors
RiStemmer(pApplet);
Methods
stem()   The basic stemming method: extracts base roots from a word by removing prefixes and suffixes. For example, the words 'run', 'runs', 'ran', and 'running' all have "run" as the root.

Usage Web & Application