Public Methods |
| MMRSumm (InvFPIndex *inIdx, int inSummLen=5) |
virtual void | markPassages (int optLen, char *qInfo) |
| Flag optLen passages for inclusion in summary.
|
virtual void | addPassage (Passage &psg) |
| Append a new passage to the list the summarizer will use to generate summary.
|
void | addDocument (const char *docID) |
virtual int | fetchPassages (Passage *psgs, int optLen) |
| Place marked passages into an array.
|
virtual void | summDocument (const char *docID, const int optLen, const char *qInfo) |
| General purpose function that does all summary computation as well as passage marking.
|
virtual void | scorePassages (const char *qInfo) |
| Score ALL passages currently in this summarizer, optionally given query terms.
|
virtual void | clear (void) |
| Clear all scores and passages from the summarizer.
|
virtual int | nextPassage (Passage *psg) |
| Get the next passage in iterative manner.
|
virtual void | iterClear (void) |
| Reset to the first summarized passage (in conjunction with nextPassage ).
|
virtual void | outputSumm (void) |
| General purpose "send summary to stdout" function.
|
void | findNextPassage (MMRPassage &psg, InvFPIndex *idx, TermInfoList *tList, int eos) |
void | showPassage (passageVec *psg, InvFPIndex *idx) |
void | showMarkedPassages () |
int | isEOS (const char *check) |
int | hasEOS (InvFPIndex *idx, TermInfoList *tList) |
int | isTITLE (const char *check) |
int | hasTITLE (InvFPIndex *idx, TermInfoList *tList) |
int | isPRONOUN (const char *check) |
Private Methods |
int | autoMMRQuery (void) |
int | setMMRQuery (char *qInfo) |
Private Attributes |
double | lambda |
InvFPIndex * | idx |
int | summLen |
vector< MMRPassage > | doc |
int | iterCount |
double | maxSims |
MMRPassage * | queryPassage |