LMInstantiator // Remove debug messages.

This commit is contained in:
ShikiSuen 2022-05-13 17:10:33 +08:00
parent 164e8d7b32
commit c2dba51a50
1 changed files with 0 additions and 7 deletions

View File

@ -215,9 +215,6 @@ extension vChewing {
//
// rawUserUnigrams
rawAllUnigrams += lmUserPhrases.unigramsFor(key: key).reversed()
if lmUserPhrases.unigramsFor(key: key).isEmpty {
IME.prtDebugIntel("Not found in UserPhrasesUnigram(\(lmUserPhrases.count)): \(key)")
}
// LMMisc LMCore score (-10.0, 0.0)
rawAllUnigrams += lmMisc.unigramsFor(key: key)
@ -229,10 +226,6 @@ extension vChewing {
if isSymbolEnabled {
rawAllUnigrams += lmUserSymbols.unigramsFor(key: key)
if lmUserSymbols.unigramsFor(key: key).isEmpty {
IME.prtDebugIntel("Not found in UserSymbolUnigram(\(lmUserSymbols.count)): \(key)")
}
rawAllUnigrams += lmSymbols.unigramsFor(key: key)
}