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.

Implements Passage.

void BasicPassage::addTerms 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.

passageVec * BasicPassage::getAsVector void    [virtual]
 

Return the passage terms in vector form for easy access.

Implements Passage.

int BasicPassage::operator< Passage   b [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 Mon Sep 30 14:13:50 2002 for LEMUR by doxygen1.2.18