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, getMaxFrequencyInDocuments, getNumberOfEntries, getPointer, getTermId, pointerToString, readFields, setDocumentFrequency, setFrequency, setMaxFrequencyInDocuments, setNumberOfEntries, setPointer, setStatistics, setTermId, write
equals, getWritableEntryStatistics, hashCode, toString
finalize, getClass, notify, notifyAll, wait, wait, wait
getDocumentFrequency, getFrequency, getMaxFrequencyInDocuments, getTermId, getWritableEntryStatistics, setDocumentFrequency, setFrequency, setMaxFrequencyInDocuments
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 Platform 5.1. Copyright © 2004-2019, University of Glasgow