#include <Passage.hpp>
Inheritance diagram for lemur::summarization::Passage:
Public Member Functions | |
virtual | ~Passage () |
virtual void | clear ()=0 |
Clear a passage (make empty and clear score, etc.). | |
virtual void | addTerm (termCount term)=0 |
Append a term to this passage. | |
virtual void | addTerms (const passageVec pv)=0 |
Take a vector of term/scores and make it a passage. | |
virtual const passageVec * | getAsVector (void) const =0 |
Return the passage terms in vector form for easy access. | |
virtual int | operator< (const Passage &b) const =0 |
For comparison with other passages for sorting by score. | |
Public Attributes | |
double | score |
int | marked |
string | docID |
passageVec | psg |
Passage
is created in conjunction with a specific Summarizer
implementation. This is an abstract base class.
|
|
|
Append a term to this passage.
Implemented in lemur::summarization::BasicPassage, and lemur::summarization::MMRPassage. |
|
Take a vector of term/scores and make it a passage.
Implemented in lemur::summarization::BasicPassage, and lemur::summarization::MMRPassage. |
|
Clear a passage (make empty and clear score, etc.).
Implemented in lemur::summarization::BasicPassage, and lemur::summarization::MMRPassage. |
|
Return the passage terms in vector form for easy access.
Implemented in lemur::summarization::BasicPassage, and lemur::summarization::MMRPassage. |
|
For comparison with other passages for sorting by score.
Implemented in lemur::summarization::BasicPassage, and lemur::summarization::MMRPassage. |
|
|
|
|
|
|
|
|