Skip to content

Commit

Permalink
fix(syllabifier): enable_completion not working
Browse files Browse the repository at this point in the history
Closes #343
  • Loading branch information
lotem committed Mar 24, 2019
1 parent 9248a6b commit 2714131
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rime/algo/syllabifier.cc
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ int Syllabifier::BuildSyllableGraph(const string &input,
good.insert(i);
}

if (corrector_ && farthest < input.length()) {
if (enable_completion_ && farthest < input.length()) {
DLOG(INFO) << "completion enabled";
const size_t kExpandSearchLimit = 512;
vector<Prism::Match> keys;
Expand Down

0 comments on commit 2714131

Please sign in to comment.