LMs // Print entry counts when loading finishes.
This commit is contained in:
parent
652cd4aa74
commit
8b81a3c037
|
@ -91,7 +91,7 @@ extension vChewing {
|
||||||
keyValueMap[currentKV.key, default: []].append(currentKV)
|
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 = ""
|
theData = ""
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
|
@ -125,7 +125,7 @@ extension vChewing {
|
||||||
keyValueScoreMap[key, default: []].append(currentUnigram)
|
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 = ""
|
theData = ""
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
|
@ -95,7 +95,7 @@ extension vChewing {
|
||||||
keyValueMap[currentKV.key, default: []].append(currentKV)
|
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 = ""
|
theData = ""
|
||||||
if path.contains("vChewing/") {
|
if path.contains("vChewing/") {
|
||||||
dump()
|
dump()
|
||||||
|
|
|
@ -91,7 +91,7 @@ extension vChewing {
|
||||||
keyValueMap[currentKV.key] = currentKV.value
|
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 = ""
|
theData = ""
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue