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

Summarizer.hpp

Go to the documentation of this file.
00001 /*==========================================================================
00002  * Copyright (c) 2002 Carnegie Mellon University.  All Rights Reserved.
00003  *
00004  * Use of the Lemur Toolkit for Language Modeling and Information Retrieval
00005  * is subject to the terms of the software license set forth in the LICENSE
00006  * file included with this software, and also available at
00007  * http://www.cs.cmu.edu/~lemur/license.html
00008  *
00009  *==========================================================================
00010 */
00011 #include <stdlib.h> 
00012 #include <vector>
00013 #include "Passage.hpp"
00014 
00015 using std::vector;
00016 
00017 #ifndef _SUMMARIZER_HPP
00018 #define _SUMMARIZER_HPP
00019 
00025 class Summarizer {
00026 
00027 public:
00028   virtual ~Summarizer();
00029 
00031   virtual void summDocument(const char* docID, const int optLen, const char* qInfo) = 0;
00032 
00034   virtual void scorePassages(const char* qInfo) = 0;
00035 
00037   virtual void markPassages(int optLen, char* qInfo) = 0;
00038 
00040   virtual void addPassage(Passage &psg) = 0;
00041 
00043   virtual void clear(void) = 0;
00044 
00046   virtual int fetchPassages(Passage psgs[], int optLen) = 0;
00047 
00049   virtual int nextPassage(Passage* psg) = 0;
00050 
00052   virtual void iterClear(void) = 0;
00053 
00055   virtual void outputSumm(void) = 0;
00056 
00057 }; // Summarizer
00058 
00059 #endif

Generated on Mon Sep 30 14:13:23 2002 for LEMUR by doxygen1.2.18