Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

lemur::summarization::Passage Class Reference

#include <Passage.hpp>

Inheritance diagram for lemur::summarization::Passage:

lemur::summarization::BasicPassage lemur::summarization::MMRPassage List of all members.

Public Member Functions

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 passageVecgetAsVector (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

lemur::summarization::Passage::~Passage  )  [virtual]
 


Member Function Documentation

virtual void lemur::summarization::Passage::addTerm termCount  term  )  [pure virtual]
 

Append a term to this passage.

Implemented in lemur::summarization::BasicPassage, and lemur::summarization::MMRPassage.

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

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

Implemented in lemur::summarization::BasicPassage, and lemur::summarization::MMRPassage.

virtual void lemur::summarization::Passage::clear  )  [pure virtual]
 

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

Implemented in lemur::summarization::BasicPassage, and lemur::summarization::MMRPassage.

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

Return the passage terms in vector form for easy access.

Implemented in lemur::summarization::BasicPassage, and lemur::summarization::MMRPassage.

virtual int lemur::summarization::Passage::operator< const Passage b  )  const [pure virtual]
 

For comparison with other passages for sorting by score.

Implemented in lemur::summarization::BasicPassage, and lemur::summarization::MMRPassage.


Member Data Documentation

string lemur::summarization::Passage::docID
 

int lemur::summarization::Passage::marked
 

passageVec lemur::summarization::Passage::psg
 

double lemur::summarization::Passage::score
 


The documentation for this class was generated from the following files:
Generated on Tue Jun 15 11:03:07 2010 for Lemur by doxygen 1.3.4