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

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

virtual int operator< (Passage &b)
 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 char * id ) [inline]
 


Member Function Documentation

void BasicPassage::addTerm ( termCount term ) [virtual]
 

Append a term to this passage.

Reimplemented from Passage.

void BasicPassage::addTerms ( passageVec pv ) [virtual]
 

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

Reimplemented from Passage.

void BasicPassage::clear ( ) [virtual]
 

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

Reimplemented from Passage.

passageVec * BasicPassage::getAsVector ( void ) [virtual]
 

Return the passage terms in vector form for easy access.

Reimplemented from Passage.

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

For comparison with other passages for sorting by score.

Reimplemented from Passage.


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