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

BasicPassage Class Reference

#include <BasicPassage.hpp>

Inheritance diagram for BasicPassage:

Passage List of all members.

Public Methods

 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

BasicPassage::BasicPassage const string &    id [inline]
 


Member Function Documentation

void BasicPassage::addTerm termCount    term [virtual]
 

Append a term to this passage.

Implements Passage.

void BasicPassage::addTerms const passageVec    pv [virtual]
 

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

Implements Passage.

void BasicPassage::clear   [virtual]
 

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

Implements Passage.

const passageVec * BasicPassage::getAsVector void    const [virtual]
 

Return the passage terms in vector form for easy access.

Implements Passage.

int BasicPassage::operator< const Passage   b const [virtual]
 

For comparison with other passages for sorting by score.

Implements Passage.


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