#include <Summarizer.hpp>
Inheritance diagram for lemur::summarization::Summarizer:
Public Member Functions | |
virtual | ~Summarizer () |
virtual void | summDocument (const string &docID, const int optLen, const string &qInfo)=0 |
General purpose function that does all summary computation as well as passage marking. | |
virtual void | scorePassages (const string &qInfo)=0 |
Score ALL passages currently in this summarizer, optionally given query terms. | |
virtual void | markPassages (int optLen, const string &qInfo)=0 |
Flag optLen passages for inclusion in summary. | |
virtual void | addPassage (Passage &psg)=0 |
Append a new passage to the list the summarizer will use to generate summary. | |
virtual void | clear (void)=0 |
Clear all scores and passages from the summarizer. | |
virtual int | fetchPassages (Passage *psgs, int optLen) const =0 |
Place marked passages into an array. | |
virtual int | nextPassage (Passage *psg) const =0 |
Get the next passage in iterative manner. | |
virtual void | iterClear (void) const =0 |
Reset to the first summarized passage (in conjunction with nextPassage ). | |
virtual void | outputSumm (void) const =0 |
General purpose "send summary to stdout" function. | |
Static Public Attributes | |
const string | EOS = "*eos" |
End of sentence marker. |
Summarizer
is created in conjunction with a specific Passage
implementation.
|
|
|
Append a new passage to the list the summarizer will use to generate summary.
Implemented in lemur::summarization::BasicSumm, and lemur::summarization::MMRSumm. |
|
Clear all scores and passages from the summarizer.
Implemented in lemur::summarization::BasicSumm, and lemur::summarization::MMRSumm. |
|
Place marked passages into an array.
Implemented in lemur::summarization::BasicSumm, and lemur::summarization::MMRSumm. |
|
Reset to the first summarized passage (in conjunction with
Implemented in lemur::summarization::BasicSumm, and lemur::summarization::MMRSumm. |
|
Flag
Implemented in lemur::summarization::BasicSumm, and lemur::summarization::MMRSumm. |
|
Get the next passage in iterative manner.
Implemented in lemur::summarization::BasicSumm, and lemur::summarization::MMRSumm. |
|
General purpose "send summary to stdout" function.
Implemented in lemur::summarization::BasicSumm, and lemur::summarization::MMRSumm. |
|
Score ALL passages currently in this summarizer, optionally given query terms.
Implemented in lemur::summarization::BasicSumm, and lemur::summarization::MMRSumm. |
|
General purpose function that does all summary computation as well as passage marking.
Implemented in lemur::summarization::BasicSumm, and lemur::summarization::MMRSumm. |
|
End of sentence marker.
|