mirror of
https://github.com/mii443/AzooKeyKanaKanjiConverter.git
synced 2025-08-22 15:05:26 +00:00
fix: 条件が逆だった問題を修正
This commit is contained in:
@ -227,7 +227,7 @@ public final class DicdataStore {
|
||||
/// - from: 起点
|
||||
/// - toIndexRange: `from ..< (toIndexRange)`の範囲で辞書ルックアップを行う。
|
||||
public func getLOUDSDataInRange(inputData: ComposingText, from fromIndex: Int, toIndexRange: Range<Int>? = nil, needTypoCorrection: Bool = true) -> [LatticeNode] {
|
||||
if needTypoCorrection {
|
||||
if !needTypoCorrection {
|
||||
return self.getFrozenLOUDSDataInRange(inputData: inputData, from: fromIndex, toIndexRange: toIndexRange)
|
||||
}
|
||||
let toIndexLeft = toIndexRange?.startIndex ?? fromIndex
|
||||
|
Reference in New Issue
Block a user