modnlp.idx.database
public class SubcorpusDirectory extends java.lang.Object
Constructor and Description |
---|
SubcorpusDirectory(Dictionary d) |
Modifier and Type | Method and Description |
---|---|
void |
add(SubcorpusMap tm,
java.lang.String fou) |
void |
dump() |
boolean |
isIndexed(java.lang.String fou) |
boolean |
isReindexingAllowed() |
void |
remove(java.lang.String fou) |
void |
setAllowReindexing(boolean b) |
public SubcorpusDirectory(Dictionary d)
public void setAllowReindexing(boolean b)
public boolean isReindexingAllowed()
public void add(SubcorpusMap tm, java.lang.String fou) throws NotIndexedException, AlreadyIndexedException, EmptyFileException, com.sleepycat.je.DatabaseNotFoundException
NotIndexedException
AlreadyIndexedException
EmptyFileException
com.sleepycat.je.DatabaseNotFoundException
public void remove(java.lang.String fou)
public boolean isIndexed(java.lang.String fou)
public void dump()