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