Package org.egothor.stemmer
Class Reduce
java.lang.Object
org.egothor.stemmer.Reduce
The Reduce object is used to remove gaps in a Trie which stores a dictionary.
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
Reduce
public Reduce()Constructor for the Reduce object.
-
-
Method Details
-
optimize
Optimize (remove holes in the rows) the given Trie and return the restructured Trie.- Parameters:
orig
- the Trie to optimize- Returns:
- the restructured Trie
-