#ifndef HASH_GENERATOR_HDR #define HASH_GENERATOR_HDR #include #include #include #include "concordia/concordia_exception.hpp" /*! Class for generating a sentence hash. */ using namespace std; class HashGenerator { public: explicit HashGenerator(const string & wordMapFilename) throw(ConcordiaException); /*! Destructor. */ virtual ~HashGenerator(); vector generateHash(const string & sentence); void serializeWordMap(); private: map _wordMap; string _wordMapFilename; }; #endif