#include <BasicSumm.hpp>
Inheritance diagram for BasicSumm:

Public Methods | |
| BasicSumm (InvFPIndex *inIdx, int inSummLen=5) | |
| Constructor takes index information and an option default summary length. | |
| 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 | 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. | |
| virtual void | clear (void) |
| Clear all scores and passages from the summarizer. | |
| virtual int | fetchPassages (Passage *psgs, int optLen) |
| Place marked passages into an array. | |
| 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. | |
| int | isEOS (const char *check) |
| Checks for EOS marker. | |
| int | hasEOS (InvFPIndex *idx, TermInfoList *tList) |
| Determines if any EOS markers are present. | |
| double | scorePassage (BasicPassage &psg, char *qInfo) |
| Scores an individual passage. | |
| void | findNextPassage (BasicPassage &psg, InvFPIndex *idx, TermInfoList *tList, int eos) |
| Locate the next passage in a document by searching for the next EOS or using a max length. | |
| void | showPassage (passageVec *psg, InvFPIndex *idx) |
BasicSumm's method to output a summary (to screen) | |
| void | showMarkedPassages () |
| Only display passages flagged as 'marked' as part of the output. | |
Private Attributes | |
| InvFPIndex * | idx |
| int | summLen |
| vector< BasicPassage > | doc |
| int | iterCount |
Summarizer abstract with the Passage abstract. Note that this implementation is paired with an implementation of Passage called BasicPassage.
|
||||||||||||
|
Constructor takes index information and an option default summary length.
|
|
|
Append a new passage to the list the summarizer will use to generate summary.
Implements Summarizer. |
|
|
Clear all scores and passages from the summarizer.
Implements Summarizer. |
|
||||||||||||
|
Place marked passages into an array.
Implements Summarizer. |
|
||||||||||||||||||||
|
Locate the next passage in a document by searching for the next EOS or using a max length.
|
|
||||||||||||
|
Determines if any EOS markers are present.
|
|
|
Checks for EOS marker.
|
|
|
Reset to the first summarized passage (in conjunction with
Implements Summarizer. |
|
||||||||||||
|
Flag
Implements Summarizer. |
|
|
Get the next passage in iterative manner.
Implements Summarizer. |
|
|
General purpose "send summary to stdout" function.
Implements Summarizer. |
|
||||||||||||
|
Scores an individual passage.
|
|
|
Score ALL passages currently in this summarizer, optionally given query terms.
Implements Summarizer. |
|
|
Only display passages flagged as 'marked' as part of the output.
|
|
||||||||||||
|
|
|
||||||||||||||||
|
General purpose function that does all summary computation as well as passage marking.
Implements Summarizer. |
|
|
|
|
|
|
|
|
|
|
|
|
1.2.16