public class LexiconMerger extends Object
| Modifier and Type | Field and Description |
|---|---|
protected IndexOnDisk |
destIndex |
protected IndexOnDisk |
srcIndex1 |
protected IndexOnDisk |
srcIndex2 |
| Constructor and Description |
|---|
LexiconMerger(IndexOnDisk src1,
IndexOnDisk src2,
IndexOnDisk dest)
A constructor that sets the filenames of the lexicon
files to merge
|
| Modifier and Type | Method and Description |
|---|---|
static void |
main(String[] args)
main
|
void |
mergeLexicons()
Merges the two lexicons into one.
|
protected IndexOnDisk srcIndex1
protected IndexOnDisk srcIndex2
protected IndexOnDisk destIndex
public LexiconMerger(IndexOnDisk src1, IndexOnDisk src2, IndexOnDisk dest)
src1 - Source index 1src2 - Source index 2dest - Destination indexTerrier Information Retrieval Platform 5.2. Copyright © 2004-2019, University of Glasgow