#include <MMRPassage.hpp>
Inheritance diagram for lemur::summarization::MMRPassage:
Public Member Functions | |
MMRPassage (const string &id) | |
~MMRPassage () | |
virtual void | clear () |
Clear a passage (make empty and clear score, etc.). | |
virtual void | addTerm (termCount term) |
Append a term to this passage. | |
virtual void | addTerms (const passageVec pv) |
Take a vector of term/scores and make it a passage. | |
virtual const passageVec * | getAsVector (void) const |
Return the passage terms in vector form for easy access. | |
virtual int | operator< (const Passage &b) const |
For comparison with other passages for sorting by score. | |
virtual double | computeMMR (double lambda) const |
virtual double | dotProduct (MMRPassage b) const |
virtual void | scale (double val) |
Public Attributes | |
double | wt |
double | wtSim |
double | qSim |
double | maxSim |
Passage
meant to work in conjunction with the MMR summarizer MMRSumm
|
|
|
|
|
Append a term to this passage.
Implements lemur::summarization::Passage. |
|
Take a vector of term/scores and make it a passage.
Implements lemur::summarization::Passage. |
|
Clear a passage (make empty and clear score, etc.).
Implements lemur::summarization::Passage. |
|
|
|
|
|
Return the passage terms in vector form for easy access.
Implements lemur::summarization::Passage. |
|
For comparison with other passages for sorting by score.
Implements lemur::summarization::Passage. |
|
|
|
|
|
|
|
|
|
|