25 #ifndef PRESAGE_SELECTOR 26 #define PRESAGE_SELECTOR 44 typedef std::set< std::string, std::less<std::string> >
StringSet;
132 #endif // PRESAGE_SELECTOR
bool get_repeat_suggestions() const
void set_greedy_suggestion_threshold(const std::string &value)
size_t greedy_suggestion_threshold
Dispatcher< Selector > dispatcher
static const char * GREEDY_SUGGESTION_THRESHOLD
Selector(Configuration *, ContextTracker *)
void clearSuggestedWords()
void(Selector::* mbr_func_ptr_t)(const std::string &)
void thresholdFilter(std::vector< std::string > &)
void set_logger(const std::string &value)
size_t get_greedy_suggestion_threshold() const
std::string previous_prefix
void repetitionFilter(std::vector< std::string > &)
static const char * REPEAT_SUGGESTIONS
static const char * SUGGESTIONS
std::set< std::string, std::less< std::string > > StringSet
void updateSuggestedWords(const std::vector< std::string > &)
ContextTracker * contextTracker
void set_suggestions(const std::string &value)
static const char * LOGGER
std::vector< std::string > select(Prediction)
Tracks user interaction and context.
size_t get_suggestions() const
void set_repeat_suggestions(const std::string &value)
std::map< std::string, mbr_func_ptr_t > dispatch_map