28 if (!(last_word_on_line_ ==
true && last_word_on_line ==
false)) {
29 if (hyphen_word_ !=
nullptr) {
31 hyphen_word_ =
nullptr;
32 hyphen_active_dawgs_.clear();
35 if (hyphen_debug_level) {
36 tprintf(
"reset_hyphen_vars: last_word_on_line %d -> %d\n", last_word_on_line_,
39 last_word_on_line_ = last_word_on_line;
45 if (hyphen_word_ ==
nullptr) {
54 hyphen_active_dawgs_ = active_dawgs;
56 if (hyphen_debug_level) {
57 hyphen_word_->
print(
"set_hyphen_word: ");
void tprintf(const char *format,...)
void make_bad()
Set the fields in this choice to be default (bad) values.
const UNICHARSET * unicharset() const
void remove_last_unichar_id()
void reset_hyphen_vars(bool last_word_on_line)
void set_hyphen_word(const WERD_CHOICE &word, const DawgPositionVector &active_dawgs)