public class MultiLexiconEntry extends LexiconEntry
Constructor and Description |
---|
MultiLexiconEntry(LexiconEntry[] le)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
add(EntryStatistics e)
Not implemented.
|
LexiconEntry[] |
getChildren()
Return LexiconEntry's.
|
int |
getDocumentFrequency()
The number of documents that the entry (term) occurred in
|
int |
getFrequency()
The frequency (total number of occurrences) of the entry (term).
|
int |
getMaxFrequencyInDocuments() |
int |
getNumberOfEntries()
Returns number of "things" that this pointer refers to
|
int |
getTermId()
Not implemented.
|
String |
pointerToString()
Not implemented.
|
void |
readFields(DataInput arg0)
Not implemented.
|
void |
setDocumentFrequency(int nt) |
void |
setFrequency(int F) |
void |
setMaxFrequencyInDocuments(int max) |
void |
setNumberOfEntries(int n)
Not implemented.
|
void |
setPointer(Pointer p)
Not implemented.
|
void |
setStatistics(int n_t,
int TF)
Not implemented.
|
void |
setTermId(int newTermId)
Not implemented.
|
void |
subtract(EntryStatistics e)
Not implemented.
|
void |
write(DataOutput arg0)
Not implemented.
|
equals, getWritableEntryStatistics, hashCode, toString
public MultiLexiconEntry(LexiconEntry[] le)
public LexiconEntry[] getChildren()
public int getFrequency()
public int getDocumentFrequency()
public int getNumberOfEntries()
getNumberOfEntries
in interface Pointer
getNumberOfEntries
in class LexiconEntry
public int getTermId()
public void add(EntryStatistics e)
public void subtract(EntryStatistics e)
public void setNumberOfEntries(int n)
setNumberOfEntries
in interface Pointer
setNumberOfEntries
in class LexiconEntry
public String pointerToString()
pointerToString
in interface Pointer
pointerToString
in class LexiconEntry
public void setPointer(Pointer p)
setPointer
in interface Pointer
setPointer
in class LexiconEntry
p
- other pointer to update the pointer in this objectpublic void readFields(DataInput arg0) throws IOException
IOException
public void write(DataOutput arg0) throws IOException
IOException
public void setTermId(int newTermId)
setTermId
in class LexiconEntry
public void setStatistics(int n_t, int TF)
setStatistics
in class LexiconEntry
public int getMaxFrequencyInDocuments()
public void setMaxFrequencyInDocuments(int max)
public void setFrequency(int F)
public void setDocumentFrequency(int nt)
Terrier Information Retrieval Platform 5.1. Copyright © 2004-2019, University of Glasgow