public class BasicIRTermIndexList extends Object implements IRTermIndexList, IRSignatureIndexList
The class is used to write or load the relation indexing information for a given IR term or term set
Copyright: Copyright (c) 2005
Company: IST, Drexel University
| Constructor and Description |
|---|
BasicIRTermIndexList(String filename,
boolean writingMode) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
add(IRTerm curTerm)
Adds the term to the list
|
void |
close()
Releases occupied resources
|
IRTerm |
get(int index)
Gets the IRTerm object specified by the index
|
IRSignature |
getIRSignature(int index) |
int |
size()
Gets the number of terms in the list
|
public BasicIRTermIndexList(String filename, boolean writingMode)
public IRSignature getIRSignature(int index)
getIRSignature in interface IRSignatureIndexListpublic IRTerm get(int index)
IRTermIndexListget in interface IRTermIndexListindex - the index of the termpublic boolean add(IRTerm curTerm)
IRTermIndexListadd in interface IRTermIndexListcurTerm - the term for addingpublic void close()
IRTermIndexListclose in interface IRSignatureIndexListclose in interface IRTermIndexListpublic int size()
IRTermIndexListsize in interface IRSignatureIndexListsize in interface IRTermIndexListCopyright © 2018 JULIE Lab, Germany. All rights reserved.