Main Page   Namespace List   Class Hierarchy   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 (passageVec pv)=0
 Take a vector of term/scores and make it a passage.

virtual passageVecgetAsVector (void)=0
 Return the passage terms in vector form for easy access.

virtual int operator< (Passage &b)=0
 For comparison with other passages for sorting by score.


Public Attributes

double score
int marked
char* docID
passageVecpsg

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

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

Append a term to this passage.

Reimplemented in BasicPassage, and MMRPassage.

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

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

Reimplemented in BasicPassage, and MMRPassage.

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

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

Reimplemented in BasicPassage, and MMRPassage.

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

Return the passage terms in vector form for easy access.

Reimplemented in BasicPassage, and MMRPassage.

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

For comparison with other passages for sorting by score.

Reimplemented in BasicPassage, and MMRPassage.


Member Data Documentation

char * Passage::docID
 

int Passage::marked
 

passageVec * Passage::psg
 

double Passage::score
 


The documentation for this class was generated from the following files:
Generated at Fri Jul 26 18:27:13 2002 for LEMUR by doxygen1.2.4 written by Dimitri van Heesch, © 1997-2000