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

Public Member Functions | |
| BasicSumm (const lemur::api::Index *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 lemur::api::Index *idx, const lemur::api::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 lemur::api::Index *idx, const lemur::api::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 lemur::api::Index *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. | |
Private Attributes | |
| const lemur::api::Index * | 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 lemur::summarization::Summarizer. |
|
|
Clear all scores and passages from the summarizer.
Implements lemur::summarization::Summarizer. |
|
||||||||||||
|
Place marked passages into an array.
Implements lemur::summarization::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 lemur::summarization::Summarizer. |
|
||||||||||||
|
Flag
Implements lemur::summarization::Summarizer. |
|
|
Get the next passage in iterative manner.
Implements lemur::summarization::Summarizer. |
|
|
General purpose "send summary to stdout" function.
Implements lemur::summarization::Summarizer. |
|
||||||||||||
|
Scores an individual passage.
|
|
|
Score ALL passages currently in this summarizer, optionally given query terms.
Implements lemur::summarization::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 lemur::summarization::Summarizer. |
|
|
|
|
|
|
|
|
|
|
|
|
1.3.4