Hiraku: vChewingLM // Only listing really-duplicated user phrases.

This commit is contained in:
Hiraku 2022-01-24 11:19:50 +08:00 committed by ShikiSuen
parent edbd5357a5
commit 5513608f42
1 changed files with 1 additions and 1 deletions

View File

@ -76,7 +76,7 @@ const vector<Unigram> vChewingLM::unigramsForKey(const string& key)
if (m_userPhrases.hasUnigramsForKey(key)) {
vector<Unigram> rawUserUnigrams = m_userPhrases.unigramsForKey(key);
vector<Unigram> filterredUserUnigrams = m_userPhrases.unigramsForKey(key);
vector<Unigram> filterredUserUnigrams;
for (auto&& unigram : rawUserUnigrams) {
if (excludedValues.find(unigram.keyValue.value) == excludedValues.end()) {