5 // 5 January 2007 -- tds
8 #ifndef GALAGO_VOCABULARYREADER_HPP
9 #define GALAGO_VOCABULARYREADER_HPP
13 #include "indri/indri-platform.h"
14 #include "UncompressedRead.hpp"
16 class VocabularyReader
{
25 std::vector
<TermSlot
> slots
;
29 void read( const std::string
& fileName
, UINT64 invertedFileLength
);
30 const TermSlot
& operator[] ( const std::string
& term
) const;
31 const TermSlot
& get( const std::string
& term
) const;