22 #include "DictEntry.hpp"
35 size_t len)
const = 0;
41 return Match(word.c_str(), word.length());
56 return MatchPrefix(word.c_str(), word.length());
64 virtual std::vector<const DictEntry*> MatchAllPrefixes(
const char* word,
70 std::vector<const DictEntry*>
72 return MatchAllPrefixes(word.c_str(), word.length());
78 virtual size_t KeyMaxLength()
const = 0;
83 virtual LexiconPtr GetLexicon()
const = 0;