Skip to content

Commit fc20efa

Browse files
committed
If at least one reading is <fixedcase>, cohort is
1 parent 4f9d315 commit fc20efa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/suggest.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -648,7 +648,7 @@ if(verbose) std::cerr << "\t\033[0;35mr.suggest=" << tr.suggest << "\033[0m" <
648648
}
649649
if(verbose) std::cerr << "\t\t\033[1;36msform=\t'" << sf << "'\033[0m" << std::endl;
650650
}
651-
fixedcase = tr.fixedcase; // for the surface form
651+
fixedcase |= tr.fixedcase; // for the surface form
652652
} // end for readings of target
653653
if(rep_this_trg.empty()) {
654654
const auto cased_sf = fromUtf8(withCasing(fixedcase, casing, toUtf8(trg.form)));

0 commit comments

Comments
 (0)