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

lemur::summarization::BasicPassage Class Reference

#include <BasicPassage.hpp>

Inheritance diagram for lemur::summarization::BasicPassage:

lemur::summarization::Passage List of all members.

Public Member Functions

 BasicPassage (const string &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 (const passageVec pv)
 Take a vector of term/scores and make it a passage.

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

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


Detailed Description

A simple implementation of the abstract class Passage meant to work in conjunction with the simple sentence selection summarizer BasicSumm


Constructor & Destructor Documentation

lemur::summarization::BasicPassage::BasicPassage const string &  id  )  [inline]
 


Member Function Documentation

void lemur::summarization::BasicPassage::addTerm termCount  term  )  [virtual]
 

Append a term to this passage.

Implements lemur::summarization::Passage.

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

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

Implements lemur::summarization::Passage.

void lemur::summarization::BasicPassage::clear  )  [virtual]
 

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

Implements lemur::summarization::Passage.

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

Return the passage terms in vector form for easy access.

Implements lemur::summarization::Passage.

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

For comparison with other passages for sorting by score.

Implements lemur::summarization::Passage.


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