A B C D E G L M N O P R S T U

A

add(String, String) - Method in class org.egothor.stemmer.MultiTrie
Add an element to this structure consisting of the given key and patch command.
add(String, String) - Method in class org.egothor.stemmer.MultiTrie2
Add an element to this structure consisting of the given key and patch command.
add(String, String) - Method in class org.egothor.stemmer.Trie
Add the given key associated with the given patch command.
apply(StringBuffer, String) - Static method in class org.egothor.stemmer.Diff
Apply the given patch string diff to the given string orig and return the new String with the patch command executed..

B

Benchmark - class org.getopt.stempel.Benchmark.
This class is a simple benchmark for the stemmer.
Benchmark() - Constructor for class org.getopt.stempel.Benchmark
 

C

COUNT - Static variable in class org.getopt.stempel.Benchmark
Number of times to run the benchmark.
Compile - class org.egothor.stemmer.Compile.
The Compile class is used to compile a stemmer table.
Compile() - Constructor for class org.egothor.stemmer.Compile
 

D

Diff - class org.egothor.stemmer.Diff.
The Diff object generates a patch string.
Diff() - Constructor for class org.egothor.stemmer.Diff
Constructor for the Diff object.
Diff(int, int, int, int) - Constructor for class org.egothor.stemmer.Diff
Constructor for the Diff object
DiffIt - class org.egothor.stemmer.DiffIt.
The DiffIt class is a means generate patch commands from an already prepared stemmer table.
DiffIt() - Constructor for class org.egothor.stemmer.DiffIt
 
decompose(String) - Method in class org.egothor.stemmer.MultiTrie2
Break the given patch command into its constituent pieces.

E

eat(Row, int[]) - Method in class org.egothor.stemmer.Gener
Test whether the given Row of Cells in a Trie should be included in an optimized Trie.
exec(String, String) - Method in class org.egothor.stemmer.Diff
Construct a patch string that transforms a to b.

G

Gener - class org.egothor.stemmer.Gener.
The Gener object helps in the discarding of nodes which break the reduction effort and defend the structure against large reductions.
Gener() - Constructor for class org.egothor.stemmer.Gener
Constructor for the Gener object.
getAll(String) - Method in class org.egothor.stemmer.Trie
Gets the all attribute of the Trie object
getCells() - Method in class org.egothor.stemmer.Row
Return the number of cells in use.
getCells() - Method in class org.egothor.stemmer.Trie
Return the number of cells in this Trie object.
getCellsPnt() - Method in class org.egothor.stemmer.Row
Return the number of references (how many transitions) to other rows.
getCellsPnt() - Method in class org.egothor.stemmer.Trie
Gets the cellsPnt attribute of the Trie object
getCellsVal() - Method in class org.egothor.stemmer.Row
Return the number of patch commands saved in this Row.
getCellsVal() - Method in class org.egothor.stemmer.Trie
Gets the cellsVal attribute of the Trie object
getCmd(Character) - Method in class org.egothor.stemmer.Row
Return the command in the Cell associated with the given Character.
getCnt(Character) - Method in class org.egothor.stemmer.Row
Return the number of patch commands were in the Cell associated with the given Character before the Trie containing this Row was reduced.
getFully(String) - Method in class org.egothor.stemmer.MultiTrie
Return the element that is stored in a cell associated with the given key.
getFully(String) - Method in class org.egothor.stemmer.MultiTrie2
Return the element that is stored in a cell associated with the given key.
getFully(String) - Method in class org.egothor.stemmer.Trie
Return the element that is stored in a cell associated with the given key.
getLastOnPath(String) - Method in class org.egothor.stemmer.MultiTrie
Return the element that is stored as last on a path belonging to the given key.
getLastOnPath(String) - Method in class org.egothor.stemmer.MultiTrie2
Return the element that is stored as last on a path belonging to the given key.
getLastOnPath(String) - Method in class org.egothor.stemmer.Trie
Return the element that is stored as last on a path associated with the given key.
getRef(Character) - Method in class org.egothor.stemmer.Row
Return the reference to the next Row in the Cell associated with the given Character.
getStemmer(Locale) - Method in class org.egothor.stemmer.Stock
Return the Trie (stemmer) for the given language.
getTableResPath() - Method in class org.getopt.stempel.Stemmer
Return resource path to the stemmer table, or null if initialized with preloaded table.

L

Lift - class org.egothor.stemmer.Lift.
The Lift class is adata structure that is a variation of a Patricia trie.
Lift(boolean) - Constructor for class org.egothor.stemmer.Lift
Constructor for the Lift object.
liftUp(Row, Vector) - Method in class org.egothor.stemmer.Lift
Reduce the trie using Lift-Up reduction.

M

MIN_LENGTH - Variable in class org.getopt.stempel.Stemmer
Minimum length of input words to be processed.
MultiTrie - class org.egothor.stemmer.MultiTrie.
The MultiTrie is a Trie of Tries.
MultiTrie(DataInput) - Constructor for class org.egothor.stemmer.MultiTrie
Constructor for the MultiTrie object.
MultiTrie(boolean) - Constructor for class org.egothor.stemmer.MultiTrie
Constructor for the MultiTrie object
MultiTrie2 - class org.egothor.stemmer.MultiTrie2.
The MultiTrie is a Trie of Tries.
MultiTrie2(DataInput) - Constructor for class org.egothor.stemmer.MultiTrie2
Constructor for the MultiTrie object.
MultiTrie2(boolean) - Constructor for class org.egothor.stemmer.MultiTrie2
Constructor for the MultiTrie2 object
main(String[]) - Static method in class org.egothor.stemmer.Compile
Entry point to the Compile application.This program takes any number of arguments: the first is the name of the desired stemming algorithm to use (a list is available in the package description) , all of the rest should be the path or paths to a file or files containing a stemmer table to compile.
main(String[]) - Static method in class org.egothor.stemmer.DiffIt
Entry point to the DiffIt application.This application takes one argument, the path to a file containing a stemmer table.
main(String[]) - Static method in class org.egothor.stemmer.Test
Entry point to the Test application.If no parameter is specified, Test.selfTest() is run.
main(String[]) - Static method in class org.egothor.stemmer.TestAll
Entry point to the TestAll application.If no parameter is specified, TestAll.selfTest() is run.
main(String[]) - Static method in class org.egothor.stemmer.TestLoad
Entry point to the TestLoad application.
main(String[]) - Static method in class org.getopt.stempel.Benchmark
Provide the name of the test file as the first argument.
main(String[]) - Static method in class org.getopt.stempel.Stemmer
Testing method.
merge(Row, Row) - Method in class org.egothor.stemmer.Optimizer
Merge the given rows and return the resulting Row.
merge(Cell, Cell) - Method in class org.egothor.stemmer.Optimizer
Merge the given Cells and return the resulting Cell.
merge(Cell, Cell) - Method in class org.egothor.stemmer.Optimizer2
Merge the given Cells and return the resulting Cell.

N

next() - Method in class org.getopt.stempel.lucene.StempelFilter
Returns the next input Token, after being stemmed

O

Optimizer - class org.egothor.stemmer.Optimizer.
The Optimizer class is a Trie that will be reduced (have empty rows removed).
Optimizer() - Constructor for class org.egothor.stemmer.Optimizer
Constructor for the Optimizer object.
Optimizer2 - class org.egothor.stemmer.Optimizer2.
The Optimizer class is a Trie that will be reduced (have empty rows removed).
Optimizer2() - Constructor for class org.egothor.stemmer.Optimizer2
Constructor for the Optimizer2 object.
optimize(Trie) - Method in class org.egothor.stemmer.Gener
Return a Trie with infrequent values occurring in the given Trie removed.
optimize(Trie) - Method in class org.egothor.stemmer.Lift
Optimize (eliminate rows with no content) the given Trie and return the reduced Trie.
optimize(Trie) - Method in class org.egothor.stemmer.Optimizer
Optimize (remove empty rows) from the given Trie and return the resulting Trie.
optimize(Trie) - Method in class org.egothor.stemmer.Reduce
Optimize (remove holes in the rows) the given Trie and return the restructured Trie.
org.egothor.stemmer - package org.egothor.stemmer
The content of this package is taken verbatim from the Egothor project (www.egothor.org).
org.getopt.stempel - package org.getopt.stempel
Utility classes for stemming.
org.getopt.stempel.lucene - package org.getopt.stempel.lucene
Lucene integration classes.

P

print() - Method in class org.egothor.stemmer.Row
Write the contents of this Row to stdout.
printDoubleArray(String, double[], String) - Static method in class org.getopt.stempel.Benchmark
 
printInfo(String) - Method in class org.egothor.stemmer.MultiTrie
Print the given prefix and the position(s) in the Trie where it appears.
printInfo(String) - Method in class org.egothor.stemmer.Trie
Description of the Method
printLongArray(String, long[]) - Static method in class org.getopt.stempel.Benchmark
 

R

Reduce - class org.egothor.stemmer.Reduce.
The Reduce object is used to remove gaps in a Trie which stores a dictionary..
Reduce() - Constructor for class org.egothor.stemmer.Reduce
Constructor for the Reduce object.
Row - class org.egothor.stemmer.Row.
The Row class represents a row in a matrix representation of a trie.
Row(DataInput) - Constructor for class org.egothor.stemmer.Row
Construct a Row object from input carried in via the given input stream.
Row() - Constructor for class org.egothor.stemmer.Row
The default constructor for the Row object.
Row(Row) - Constructor for class org.egothor.stemmer.Row
Construct a Row using the cells of the given Row.
reduce(Reduce) - Method in class org.egothor.stemmer.MultiTrie
Remove empty rows from the given Trie and return the newly reduced Trie.
reduce(Reduce) - Method in class org.egothor.stemmer.MultiTrie2
Remove empty rows from the given Trie and return the newly reduced Trie.
reduce(Reduce) - Method in class org.egothor.stemmer.Trie
Remove empty rows from the given Trie and return the newly reduced Trie.

S

Stemmer - class org.getopt.stempel.Stemmer.
Stemmer class is a convenient facade for other stemmer-related classes.
Stemmer() - Constructor for class org.getopt.stempel.Stemmer
Create a Stemmer using stemmer table loaded from resource path pointed to by System property org.getopt.stempel.table.
Stemmer(String) - Constructor for class org.getopt.stempel.Stemmer
Create a Stemmer using selected stemmer table
Stemmer(Trie) - Constructor for class org.getopt.stempel.Stemmer
Create a Stemmer using pre-loaded stemmer table
StempelAnalyzer - class org.getopt.stempel.lucene.StempelAnalyzer.
Analyzer that uses Stemmer for stemming.
StempelAnalyzer() - Constructor for class org.getopt.stempel.lucene.StempelAnalyzer
Creates the Analyzer that uses the default stemming table
StempelAnalyzer(String) - Constructor for class org.getopt.stempel.lucene.StempelAnalyzer
Creates the Analyzer that loads stemming table from the resource path.
StempelAnalyzer(Stemmer) - Constructor for class org.getopt.stempel.lucene.StempelAnalyzer
Creates the Analyzer that uses the supplied Stemmer.
StempelFilter - class org.getopt.stempel.lucene.StempelFilter.
Transforms the token stream as per the stemming algorithm.
StempelFilter(TokenStream) - Constructor for class org.getopt.stempel.lucene.StempelFilter
Create filter using the default stemming table.
StempelFilter(Stemmer, TokenStream) - Constructor for class org.getopt.stempel.lucene.StempelFilter
Create filter using the supplied stemming table.
Stock - class org.egothor.stemmer.Stock.
The Stock object is a stemmer.
Stock() - Constructor for class org.egothor.stemmer.Stock
Constructor for the Stock object.
selfTest() - Static method in class org.egothor.stemmer.Test
Test using some hard coded data.
selfTest() - Static method in class org.egothor.stemmer.TestAll
Run the test with some hard coded data.
setCmd(Character, int) - Method in class org.egothor.stemmer.Row
Set the command in the Cell of the given Character to the given integer.
setRef(Character, int) - Method in class org.egothor.stemmer.Row
Set the reference to the next row in the Cell of the given Character to the given integer.
stem(String, boolean) - Method in class org.getopt.stempel.Stemmer
Stem a word.
store(DataOutput) - Method in class org.egothor.stemmer.MultiTrie
Write this data structure to the given output stream.
store(DataOutput) - Method in class org.egothor.stemmer.MultiTrie2
Write this data structure to the given output stream.
store(DataOutput) - Method in class org.egothor.stemmer.Row
Write the contents of this Row to the given output stream.
store(DataOutput) - Method in class org.egothor.stemmer.Trie
Write this Trie to the given output stream.

T

Test - class org.egothor.stemmer.Test.
The Test class is used to test stemming methods.
Test() - Constructor for class org.egothor.stemmer.Test
 
TestAll - class org.egothor.stemmer.TestAll.
The TestAll class is used to test the getAll method.
TestAll() - Constructor for class org.egothor.stemmer.TestAll
 
TestLoad - class org.egothor.stemmer.TestLoad.
The TestLoad is used to run tests for a compiled stemmer file against the original file it was compiled from.
TestLoad() - Constructor for class org.egothor.stemmer.TestLoad
 
Trie - class org.egothor.stemmer.Trie.
A Trie is used to store a dictionary of words and their stems.
Trie(DataInput) - Constructor for class org.egothor.stemmer.Trie
Constructor for the Trie object.
Trie(boolean) - Constructor for class org.egothor.stemmer.Trie
Constructor for the Trie object.
Trie(boolean, int, Vector, Vector) - Constructor for class org.egothor.stemmer.Trie
Constructor for the Trie object.
tokenStream(String, Reader) - Method in class org.getopt.stempel.lucene.StempelAnalyzer
 

U

uniformCmd(boolean) - Method in class org.egothor.stemmer.Row
Return the number of identical Cells (containing patch commands) in this Row.

A B C D E G L M N O P R S T U