#ifndef WORD_H #define WORD_H #include #include class Word { public: /* Creates a word w with the sorted trigrams t */ Word(const std::string& w, const std::vector& t); /* Returns the word */ std::string get_word() const; /* Returns how many of the trigrams in t that are present in this word's trigram vector */ unsigned int get_matches(const std::vector& t) const; private: }; #endif