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

Public Methods | |
| MMRPassage (const char *id) | |
| 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 (passageVec pv) |
| Take a vector of term/scores and make it a passage. | |
| virtual passageVec* | getAsVector (void) |
| Return the passage terms in vector form for easy access. | |
| virtual int | operator< (Passage &b) |
| 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)const |
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.
Reimplemented from Passage. |
|
|
Take a vector of term/scores and make it a passage.
Reimplemented from Passage. |
|
|
Clear a passage (make empty and clear score, etc.).
Reimplemented from Passage. |
|
|
|
|
|
|
|
|
Return the passage terms in vector form for easy access.
Reimplemented from Passage. |
|
|
For comparison with other passages for sorting by score.
Reimplemented from Passage. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1.2.4 written by Dimitri van Heesch,
© 1997-2000