#include <InvFPTermList.hpp>
Inheritance diagram for InvFPTermList:
Public Methods | |
InvFPTermList () | |
~InvFPTermList () | |
void | startIteration () |
prepare iteration. | |
bool | hasMore () |
has more entries. | |
TermInfo* | nextEntry () |
Get a pointer to the next entry (pointer to a local static memory). | |
int | docLength () |
Get the length of this document. | |
int | termCount () |
Get the number of terms in this document. | |
int | docID () |
Get the docid this list is for. | |
bool | binRead (ifstream &infile) |
Read in a TermInfoList object from a file Assumes the following format: DOCID DOCLENGTH UNIQUE_TERM_COUNT [TERM LOC]..[]. | |
void | countTerms () |
Change our default sequence of words representation to be bag of words. |
|
|
|
|
|
Read in a TermInfoList object from a file Assumes the following format: DOCID DOCLENGTH UNIQUE_TERM_COUNT [TERM LOC]..[].
|
|
Change our default sequence of words representation to be bag of words.
|
|
Get the docid this list is for.
|
|
Get the length of this document.
|
|
has more entries.
Reimplemented from TermInfoList. |
|
Get a pointer to the next entry (pointer to a local static memory).
Reimplemented from TermInfoList. |
|
prepare iteration.
Reimplemented from TermInfoList. |
|
Get the number of terms in this document.
|