Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

Passage Class Reference

#include <Passage.hpp>

Inheritance diagram for Passage:

BasicPassage MMRPassage List of all members.

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

Detailed Description

A Passage is created in conjunction with a specific Summarizer implementation. This is an abstract base class.


Constructor & Destructor Documentation

Passage::~Passage (    )  [virtual]
 


Member Function Documentation

virtual void Passage::addTerm (  termCount    term )  [pure virtual]
 

Append a term to this passage.

Implemented in BasicPassage, and MMRPassage.

virtual void Passage::addTerms (  const passageVec    pv )  [pure virtual]
 

Take a vector of term/scores and make it a passage.

Implemented in BasicPassage, and MMRPassage.

virtual void Passage::clear (    )  [pure virtual]
 

Clear a passage (make empty and clear score, etc.).

Implemented in BasicPassage, and MMRPassage.

virtual const passageVec* Passage::getAsVector (  void    )  const [pure virtual]
 

Return the passage terms in vector form for easy access.

Implemented in BasicPassage, and MMRPassage.

virtual int Passage::operator< (  const Passage &    b )  const [pure virtual]
 

For comparison with other passages for sorting by score.

Implemented in BasicPassage, and MMRPassage.


Member Data Documentation

string Passage::docID
 

int Passage::marked
 

passageVec* Passage::psg
 

double Passage::score
 


The documentation for this class was generated from the following files:
Generated on Wed Nov 3 12:59:50 2004 for Lemur Toolkit by doxygen1.2.18