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

InvFPTermPropList.hpp

Go to the documentation of this file.
00001 /*==========================================================================
00002  * Copyright (c) 2003 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 
00012 
00013 #ifndef _INVPROPTERMLIST_HPP
00014 #define _INVPROPTERMLIST_HPP
00015 
00016 #include "InvFPTermList.hpp"
00017 
00018 /* Some additional methods to make use of lists with properties in them a bit 
00019  * easier to deal with.  We assume that you have a term, and all properties 
00020  * pertaining to a certain term indexed with the same position as what
00021  * PropIndexTH does. Term comes first, all properties for that term indexed 
00022  * afters.
00023  * This is to be used with sequence (not bad of words) InvFPTermList as that
00024  * one would get from calling InvFPIndex::TermInfoListSeq(). Use with bag of
00025  * word lists will return error values.
00026  *
00027  */
00028 class InvFPTermPropList: public InvFPTermList {
00029 public:
00033   TermInfo* nextTerm();
00034 
00038   bool hasMoreTerm();
00039 
00044   void skipTo(int pos);
00045 
00049   int nextEntryPos();
00050  
00055   int nextTermPos();
00056 };
00057 
00058 #endif

Generated on Fri Feb 6 07:11:47 2004 for LEMUR by doxygen1.2.16