java.lang.Object
org.egothor.stemmer.Reduce
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.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.egothor.stemmer.Reduce
Reduce.Remap -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.egothor.stemmer.Reduce
removeGaps
-
Constructor Details
-
Gener
public Gener()Constructor for the Gener object.
-
-
Method Details
-
optimize
Return a Trie with infrequent values occurring in the given Trie removed. -
eat
Test whether the given Row of Cells in a Trie should be included in an optimized Trie.- Parameters:
in- the Row to testremap- Description of the Parameter- Returns:
trueif the Row should remain,falseotherwise
-