Phrase rep. map tolerance marking (no actual changes)
This commit is contained in:
parent
4350695fc3
commit
f6ab7216e6
|
@ -64,7 +64,7 @@ bool PhraseReplacementMap::open(const char *path)
|
|||
while ((state = reader.Next(&keyValue)) == KeyValueBlobReader::State::HAS_PAIR) {
|
||||
keyValueMap[keyValue.key] = keyValue.value;
|
||||
}
|
||||
|
||||
// 下面這一段或許可以做成開關、來詢問是否對使用者語彙採取寬鬆策略(哪怕有行內容寫錯也會放行)
|
||||
if (state == KeyValueBlobReader::State::ERROR) {
|
||||
close();
|
||||
return false;
|
||||
|
|
Loading…
Reference in New Issue