|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.egothor.stemmer.Reduce
org.egothor.stemmer.Lift
The Lift class is adata structure that is a variation of a Patricia trie. Lift's raison d'etre is to implement reduction of the trie via the Lift-Up method., which makes the data structure less liable to overstemming.
| Constructor Summary | |
Lift(boolean changeSkip)
Constructor for the Lift object. |
|
| Method Summary | |
void |
liftUp(Row in,
java.util.Vector nodes)
Reduce the trie using Lift-Up reduction. |
Trie |
optimize(Trie orig)
Optimize (eliminate rows with no content) the given Trie and return the reduced Trie. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public Lift(boolean changeSkip)
changeSkip - when set to true , comparison of two
Cells takes a skip command into account| Method Detail |
public Trie optimize(Trie orig)
optimize in class Reduceorig - the Trie to optimized
public void liftUp(Row in,
java.util.Vector nodes)
in - the Row to consider when optimizingnodes - contains the patch commands
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||