LMInstantiator // Disable data-dumping.
- All subLMs are confirmed working, hence no need of this.
This commit is contained in:
parent
d720f6e411
commit
5144ac7a5e
|
@ -95,9 +95,6 @@ extension vChewing {
|
||||||
if FileManager.default.isReadableFile(atPath: path) {
|
if FileManager.default.isReadableFile(atPath: path) {
|
||||||
lmCore.open(path)
|
lmCore.open(path)
|
||||||
IME.prtDebugIntel("lmCore: \(lmCore.count) entries of data loaded from: \(path)")
|
IME.prtDebugIntel("lmCore: \(lmCore.count) entries of data loaded from: \(path)")
|
||||||
if path.contains("vChewing/") {
|
|
||||||
lmCore.dump()
|
|
||||||
}
|
|
||||||
} else {
|
} else {
|
||||||
IME.prtDebugIntel("lmCore: File access failure: \(path)")
|
IME.prtDebugIntel("lmCore: File access failure: \(path)")
|
||||||
}
|
}
|
||||||
|
@ -108,9 +105,6 @@ extension vChewing {
|
||||||
if FileManager.default.isReadableFile(atPath: path) {
|
if FileManager.default.isReadableFile(atPath: path) {
|
||||||
lmCNS.open(path)
|
lmCNS.open(path)
|
||||||
IME.prtDebugIntel("lmCNS: \(lmCNS.count) entries of data loaded from: \(path)")
|
IME.prtDebugIntel("lmCNS: \(lmCNS.count) entries of data loaded from: \(path)")
|
||||||
if path.contains("vChewing/") {
|
|
||||||
lmCNS.dump()
|
|
||||||
}
|
|
||||||
} else {
|
} else {
|
||||||
IME.prtDebugIntel("lmCNS: File access failure: \(path)")
|
IME.prtDebugIntel("lmCNS: File access failure: \(path)")
|
||||||
}
|
}
|
||||||
|
@ -121,9 +115,6 @@ extension vChewing {
|
||||||
if FileManager.default.isReadableFile(atPath: path) {
|
if FileManager.default.isReadableFile(atPath: path) {
|
||||||
lmMisc.open(path)
|
lmMisc.open(path)
|
||||||
IME.prtDebugIntel("lmMisc: \(lmMisc.count) entries of data loaded from: \(path)")
|
IME.prtDebugIntel("lmMisc: \(lmMisc.count) entries of data loaded from: \(path)")
|
||||||
if path.contains("vChewing/") {
|
|
||||||
lmMisc.dump()
|
|
||||||
}
|
|
||||||
} else {
|
} else {
|
||||||
IME.prtDebugIntel("lmMisc: File access failure: \(path)")
|
IME.prtDebugIntel("lmMisc: File access failure: \(path)")
|
||||||
}
|
}
|
||||||
|
@ -134,9 +125,6 @@ extension vChewing {
|
||||||
if FileManager.default.isReadableFile(atPath: path) {
|
if FileManager.default.isReadableFile(atPath: path) {
|
||||||
lmSymbols.open(path)
|
lmSymbols.open(path)
|
||||||
IME.prtDebugIntel("lmSymbol: \(lmSymbols.count) entries of data loaded from: \(path)")
|
IME.prtDebugIntel("lmSymbol: \(lmSymbols.count) entries of data loaded from: \(path)")
|
||||||
if path.contains("vChewing/") {
|
|
||||||
lmSymbols.dump()
|
|
||||||
}
|
|
||||||
} else {
|
} else {
|
||||||
IME.prtDebugIntel("lmSymbols: File access failure: \(path)")
|
IME.prtDebugIntel("lmSymbols: File access failure: \(path)")
|
||||||
}
|
}
|
||||||
|
@ -147,9 +135,6 @@ extension vChewing {
|
||||||
lmUserPhrases.close()
|
lmUserPhrases.close()
|
||||||
lmUserPhrases.open(path)
|
lmUserPhrases.open(path)
|
||||||
IME.prtDebugIntel("lmUserPhrases: \(lmUserPhrases.count) entries of data loaded from: \(path)")
|
IME.prtDebugIntel("lmUserPhrases: \(lmUserPhrases.count) entries of data loaded from: \(path)")
|
||||||
if path.contains("vChewing/") {
|
|
||||||
lmUserPhrases.dump()
|
|
||||||
}
|
|
||||||
} else {
|
} else {
|
||||||
IME.prtDebugIntel("lmUserPhrases: File access failure: \(path)")
|
IME.prtDebugIntel("lmUserPhrases: File access failure: \(path)")
|
||||||
}
|
}
|
||||||
|
@ -157,9 +142,6 @@ extension vChewing {
|
||||||
lmFiltered.close()
|
lmFiltered.close()
|
||||||
lmFiltered.open(filterPath)
|
lmFiltered.open(filterPath)
|
||||||
IME.prtDebugIntel("lmFiltered: \(lmFiltered.count) entries of data loaded from: \(path)")
|
IME.prtDebugIntel("lmFiltered: \(lmFiltered.count) entries of data loaded from: \(path)")
|
||||||
if path.contains("vChewing/") {
|
|
||||||
lmFiltered.dump()
|
|
||||||
}
|
|
||||||
} else {
|
} else {
|
||||||
IME.prtDebugIntel("lmFiltered: File access failure: \(path)")
|
IME.prtDebugIntel("lmFiltered: File access failure: \(path)")
|
||||||
}
|
}
|
||||||
|
@ -170,9 +152,6 @@ extension vChewing {
|
||||||
lmUserSymbols.close()
|
lmUserSymbols.close()
|
||||||
lmUserSymbols.open(path)
|
lmUserSymbols.open(path)
|
||||||
IME.prtDebugIntel("lmUserSymbol: \(lmUserSymbols.count) entries of data loaded from: \(path)")
|
IME.prtDebugIntel("lmUserSymbol: \(lmUserSymbols.count) entries of data loaded from: \(path)")
|
||||||
if path.contains("vChewing/") {
|
|
||||||
lmUserSymbols.dump()
|
|
||||||
}
|
|
||||||
} else {
|
} else {
|
||||||
IME.prtDebugIntel("lmUserSymbol: File access failure: \(path)")
|
IME.prtDebugIntel("lmUserSymbol: File access failure: \(path)")
|
||||||
}
|
}
|
||||||
|
@ -183,9 +162,6 @@ extension vChewing {
|
||||||
lmAssociates.close()
|
lmAssociates.close()
|
||||||
lmAssociates.open(path)
|
lmAssociates.open(path)
|
||||||
IME.prtDebugIntel("lmAssociates: \(lmAssociates.count) entries of data loaded from: \(path)")
|
IME.prtDebugIntel("lmAssociates: \(lmAssociates.count) entries of data loaded from: \(path)")
|
||||||
if path.contains("vChewing/") {
|
|
||||||
lmAssociates.dump()
|
|
||||||
}
|
|
||||||
} else {
|
} else {
|
||||||
IME.prtDebugIntel("lmAssociates: File access failure: \(path)")
|
IME.prtDebugIntel("lmAssociates: File access failure: \(path)")
|
||||||
}
|
}
|
||||||
|
@ -196,9 +172,6 @@ extension vChewing {
|
||||||
lmReplacements.close()
|
lmReplacements.close()
|
||||||
lmReplacements.open(path)
|
lmReplacements.open(path)
|
||||||
IME.prtDebugIntel("lmReplacements: \(lmReplacements.count) entries of data loaded from: \(path)")
|
IME.prtDebugIntel("lmReplacements: \(lmReplacements.count) entries of data loaded from: \(path)")
|
||||||
if path.contains("vChewing/") {
|
|
||||||
lmReplacements.dump()
|
|
||||||
}
|
|
||||||
} else {
|
} else {
|
||||||
IME.prtDebugIntel("lmReplacements: File access failure: \(path)")
|
IME.prtDebugIntel("lmReplacements: File access failure: \(path)")
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue