GatherDocumentList Class Reference

Gather document stats while indexing. More...

#include <GatherDocumentList.h>

List of all members.

Public Member Functions

 GatherDocumentList (void)
 Initialise document list.
void addDocument (char *name, int number)
 Add a new document to the queue.
void addTotalTermCount (int number)
 Add the word count to the latest document stats.
void addUniqueTermCount (int number)
 Add the term count to the latest document stats.
void purgeDocuments (void)
 Write the document stats to a file.
void salvageDocuments (void)
 Read the document stats from a file.
Document ** generateDocumentList (void)
 Return a vector of documents.
void buildDocumentList (DocumentList *list)
 Build a DocumentList from the gathered document statistics.

Detailed Description

Gather document stats while indexing.

This class is used to gather document statisitics on the fly while scanning a text document corpus. When finished, a DocumentList can be constructed.

Author
lapark
Revision
1.2
Date
2009/10/08 06:41:30
Id
GatherDocumentList.h,v 1.2 2009/10/08 06:41:30 lapark Exp

The documentation for this class was generated from the following files:
 All Classes Functions Variables Friends

Generated on Tue Nov 10 14:12:13 2009 for textIR by  doxygen 1.6.1