LMInstantiator // Let phrase replacement behave like upstream.
This commit is contained in:
parent
fe3659011f
commit
4bb93b5932
|
@ -311,7 +311,7 @@ extension vChewing {
|
|||
|
||||
if isPhraseReplacementEnabled {
|
||||
let replacement = lmReplacements.valuesFor(key: pair.value)
|
||||
if !replacement.isEmpty, pair.value.count == replacement.count {
|
||||
if !replacement.isEmpty {
|
||||
IME.prtDebugIntel("\(pair.value) -> \(replacement)")
|
||||
pair.value = replacement
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue