LMs // Print entry counts when loading finishes.

This commit is contained in:
ShikiSuen 2022-05-04 10:50:43 +08:00
parent 652cd4aa74
commit 8b81a3c037
4 changed files with 4 additions and 4 deletions

View File

@ -91,7 +91,7 @@ extension vChewing {
keyValueMap[currentKV.key, default: []].append(currentKV)
}
}
IME.prtDebugIntel("\(keyValueMap.count) entries of data loaded from: \(path)")
IME.prtDebugIntel("\(count) entries of data loaded from: \(path)")
theData = ""
return true
}

View File

@ -125,7 +125,7 @@ extension vChewing {
keyValueScoreMap[key, default: []].append(currentUnigram)
}
}
IME.prtDebugIntel("\(keyValueScoreMap.count) entries of data loaded from: \(path)")
IME.prtDebugIntel("\(count) entries of data loaded from: \(path)")
theData = ""
return true
}

View File

@ -95,7 +95,7 @@ extension vChewing {
keyValueMap[currentKV.key, default: []].append(currentKV)
}
}
IME.prtDebugIntel("\(keyValueMap.count) entries of data loaded from: \(path)")
IME.prtDebugIntel("\(count) entries of data loaded from: \(path)")
theData = ""
if path.contains("vChewing/") {
dump()

View File

@ -91,7 +91,7 @@ extension vChewing {
keyValueMap[currentKV.key] = currentKV.value
}
}
IME.prtDebugIntel("\(keyValueMap.count) entries of data loaded from: \(path)")
IME.prtDebugIntel("\(count) entries of data loaded from: \(path)")
theData = ""
return true
}