public class MemoryFieldsLexiconEntry extends MemoryLexiconEntry implements FieldEntryStatistics
Constructor and Description |
---|
MemoryFieldsLexiconEntry(int termid)
Constructor (termid).
|
MemoryFieldsLexiconEntry(int df,
int tf,
int[] fields)
Constructor (df, tf, fields).
|
MemoryFieldsLexiconEntry(int termid,
int df,
int tf,
int[] fields)
Constructor (termid, df, tf, fields).
|
Modifier and Type | Method and Description |
---|---|
void |
add(EntryStatistics le)
Increment the statistics of this object by that of another
|
int[] |
getFieldFrequencies()
Get the frequencies for each field
|
void |
subtract(EntryStatistics le)
Decrement the statistics of this object by that of another
|
clone, getDocumentFrequency, getFrequency, getNumberOfEntries, getPointer, getTermId, pointerToString, readFields, setNumberOfEntries, setPointer, setStatistics, setTermId, write
equals, getWritableEntryStatistics, hashCode, toString
finalize, getClass, notify, notifyAll, wait, wait, wait
getDocumentFrequency, getFrequency, getTermId, getWritableEntryStatistics
public MemoryFieldsLexiconEntry(int termid, int df, int tf, int[] fields)
public MemoryFieldsLexiconEntry(int df, int tf, int[] fields)
public MemoryFieldsLexiconEntry(int termid)
public int[] getFieldFrequencies()
getFieldFrequencies
in interface FieldEntryStatistics
public void add(EntryStatistics le)
add
in interface EntryStatistics
add
in class MemoryLexiconEntry
public void subtract(EntryStatistics le)
subtract
in interface EntryStatistics
subtract
in class MemoryLexiconEntry
Terrier Information Retrieval Platform4.1. Copyright © 2004-2015, University of Glasgow