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

Public Methods | |
| 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 BasicPassage, and MMRPassage. |
|
|
Take a vector of term/scores and make it a passage.
Implemented in BasicPassage, and MMRPassage. |
|
|
Clear a passage (make empty and clear score, etc.).
Implemented in BasicPassage, and MMRPassage. |
|
|
Return the passage terms in vector form for easy access.
Implemented in BasicPassage, and MMRPassage. |
|
|
For comparison with other passages for sorting by score.
Implemented in BasicPassage, and MMRPassage. |
|
|
|
|
|
|
|
|
|
|
|
|
1.2.18