public class Optimizer extends Reduce
Constructor and Description |
---|
Optimizer()
Constructor for the Optimizer object.
|
Modifier and Type | Method and Description |
---|---|
org.egothor.stemmer.Cell |
merge(org.egothor.stemmer.Cell m,
org.egothor.stemmer.Cell e)
Merge the given Cells and return the resulting Cell.
|
Row |
merge(Row master,
Row existing)
Merge the given rows and return the resulting Row.
|
Trie |
optimize(Trie orig)
Optimize (remove empty rows) from the given Trie and return the
resulting Trie.
|
public Trie optimize(Trie orig)
public Row merge(Row master, Row existing)
master
- the master Rowexisting
- the existing Rowpublic org.egothor.stemmer.Cell merge(org.egothor.stemmer.Cell m, org.egothor.stemmer.Cell e)
m
- the master Celle
- the existing CellCopyright © 2016 Egothor. All Rights Reserved.