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

Public Methods | |
| BasicSumm (const InvFPIndex *inIdx, int inSummLen=5) | |
| Constructor takes index information and an option default summary length. | |
| virtual void | summDocument (const string &docID, const int optLen, const string &qInfo) |
| General purpose function that does all summary computation as well as passage marking. | |
| virtual void | scorePassages (const string &qInfo) |
| Score ALL passages currently in this summarizer, optionally given query terms. | |
| virtual void | markPassages (int optLen, const string &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) const |
| Place marked passages into an array. | |
| virtual int | nextPassage (Passage *psg) const |
| Get the next passage in iterative manner. | |
| virtual void | iterClear (void) const |
Reset to the first summarized passage (in conjunction with nextPassage). | |
| virtual void | outputSumm (void) const |
| General purpose "send summary to stdout" function. | |
| int | isEOS (const string &check) |
| Checks for EOS marker. | |
| int | hasEOS (const InvFPIndex *idx, const TermInfoList *tList) |
| Determines if any EOS markers are present. | |
| double | scorePassage (BasicPassage &psg, const string &qInfo) |
| Scores an individual passage. | |
| void | findNextPassage (BasicPassage &psg, const InvFPIndex *idx, const TermInfoList *tList, int eos) |
| Locate the next passage in a document by searching for the next EOS or using a max length. | |
| void | showPassage (const passageVec *psg, const InvFPIndex *idx) const |
BasicSumm's method to output a summary (to screen) | |
| void | showMarkedPassages () const |
| Only display passages flagged as 'marked' as part of the output. | |
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.18