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

lemur::summarization::Summarizer Class Reference

#include <Summarizer.hpp>

Inheritance diagram for lemur::summarization::Summarizer:

lemur::summarization::BasicSumm lemur::summarization::MMRSumm List of all members.

Public Member Functions

virtual ~Summarizer ()
virtual void summDocument (const string &docID, const int optLen, const string &qInfo)=0
 General purpose function that does all summary computation as well as passage marking.

virtual void scorePassages (const string &qInfo)=0
 Score ALL passages currently in this summarizer, optionally given query terms.

virtual void markPassages (int optLen, const string &qInfo)=0
 Flag optLen passages for inclusion in summary.

virtual void addPassage (Passage &psg)=0
 Append a new passage to the list the summarizer will use to generate summary.

virtual void clear (void)=0
 Clear all scores and passages from the summarizer.

virtual int fetchPassages (Passage *psgs, int optLen) const =0
 Place marked passages into an array.

virtual int nextPassage (Passage *psg) const =0
 Get the next passage in iterative manner.

virtual void iterClear (void) const =0
 Reset to the first summarized passage (in conjunction with nextPassage).

virtual void outputSumm (void) const =0
 General purpose "send summary to stdout" function.


Static Public Attributes

const string EOS = "*eos"
 End of sentence marker.


Detailed Description

A Summarizer is created in conjunction with a specific Passage implementation.


Constructor & Destructor Documentation

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


Member Function Documentation

virtual void lemur::summarization::Summarizer::addPassage Passage psg  )  [pure virtual]
 

Append a new passage to the list the summarizer will use to generate summary.

Implemented in lemur::summarization::BasicSumm, and lemur::summarization::MMRSumm.

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

Clear all scores and passages from the summarizer.

Implemented in lemur::summarization::BasicSumm, and lemur::summarization::MMRSumm.

virtual int lemur::summarization::Summarizer::fetchPassages Passage psgs,
int  optLen
const [pure virtual]
 

Place marked passages into an array.

Implemented in lemur::summarization::BasicSumm, and lemur::summarization::MMRSumm.

virtual void lemur::summarization::Summarizer::iterClear void   )  const [pure virtual]
 

Reset to the first summarized passage (in conjunction with nextPassage).

Implemented in lemur::summarization::BasicSumm, and lemur::summarization::MMRSumm.

virtual void lemur::summarization::Summarizer::markPassages int  optLen,
const string &  qInfo
[pure virtual]
 

Flag optLen passages for inclusion in summary.

Implemented in lemur::summarization::BasicSumm, and lemur::summarization::MMRSumm.

virtual int lemur::summarization::Summarizer::nextPassage Passage psg  )  const [pure virtual]
 

Get the next passage in iterative manner.

Implemented in lemur::summarization::BasicSumm, and lemur::summarization::MMRSumm.

virtual void lemur::summarization::Summarizer::outputSumm void   )  const [pure virtual]
 

General purpose "send summary to stdout" function.

Implemented in lemur::summarization::BasicSumm, and lemur::summarization::MMRSumm.

virtual void lemur::summarization::Summarizer::scorePassages const string &  qInfo  )  [pure virtual]
 

Score ALL passages currently in this summarizer, optionally given query terms.

Implemented in lemur::summarization::BasicSumm, and lemur::summarization::MMRSumm.

virtual void lemur::summarization::Summarizer::summDocument const string &  docID,
const int  optLen,
const string &  qInfo
[pure virtual]
 

General purpose function that does all summary computation as well as passage marking.

Implemented in lemur::summarization::BasicSumm, and lemur::summarization::MMRSumm.


Member Data Documentation

const std::string lemur::summarization::Summarizer::EOS = "*eos" [static]
 

End of sentence marker.


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