Go to the documentation of this file.
25 #ifndef PRESAGE_SUGGESTION
26 #define PRESAGE_SUGGESTION
36 #include "../presageException.h"
89 #endif // PRESAGE_SUGGESTION
bool operator!=(const Suggestion &) const
std::string toString() const
bool operator==(const Suggestion &) const
void setWord(std::string)
virtual const presage_error_code_t code() const
PresageException(presage_error_code_t code, const std::string &msg)
static const double MAX_PROBABILITY
std::string getWord() const
bool operator<(const Suggestion &) const
friend std::ostream & operator<<(std::ostream &, const Suggestion &)
static const double MIN_PROBABILITY
void setProbability(double)
Suggestion(std::string="", double=0.0)
virtual ~SuggestionException()
double getProbability() const