User data tolerance marking (no actual changes)
This commit is contained in:
parent
8760eeeb16
commit
5ce53451d8
|
@ -65,7 +65,7 @@ bool UserPhrasesLM::open(const char *path)
|
|||
// We invert the key and value, since in user phrases, "key" is the phrase value, and "value" is the BPMF reading.
|
||||
keyRowMap[keyValue.value].emplace_back(keyValue.value, keyValue.key);
|
||||
}
|
||||
|
||||
// 下面這一段或許可以做成開關、來詢問是否對使用者語彙採取寬鬆策略(哪怕有行內容寫錯也會放行)
|
||||
if (state == KeyValueBlobReader::State::ERROR) {
|
||||
close();
|
||||
return false;
|
||||
|
|
Loading…
Reference in New Issue