|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.egothor.stemmer.Reduce org.egothor.stemmer.Gener
public class Gener
The Gener object helps in the discarding of nodes which break the reduction effort and defend the structure against large reductions.
Constructor Summary | |
---|---|
Gener()
Constructor for the Gener object. |
Method Summary | |
---|---|
boolean |
eat(Row in,
int[] remap)
Test whether the given Row of Cells in a Trie should be included in an optimized Trie. |
Trie |
optimize(Trie orig)
Return a Trie with infrequent values occurring in the given Trie removed. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Gener()
Method Detail |
---|
public Trie optimize(Trie orig)
optimize
in class Reduce
orig
- the Trie to optimize
public boolean eat(Row in, int[] remap)
in
- the Row to testremap
- Description of the Parameter
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |