From 920e37797c705eb984a1267c639a78ec3c412c7b Mon Sep 17 00:00:00 2001 From: ensan-hcl Date: Tue, 19 Sep 2023 23:16:59 +0900 Subject: [PATCH] Update valuation --- .../KanaKanjiConverterModule/Converter/KanaKanjiConverter.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/KanaKanjiConverterModule/Converter/KanaKanjiConverter.swift b/Sources/KanaKanjiConverterModule/Converter/KanaKanjiConverter.swift index eb09899..4565cfd 100644 --- a/Sources/KanaKanjiConverterModule/Converter/KanaKanjiConverter.swift +++ b/Sources/KanaKanjiConverterModule/Converter/KanaKanjiConverter.swift @@ -630,7 +630,7 @@ import SwiftUtils for data in leftSideCandidate.data where DicdataStore.includeMMValueCalculation(data) { let result = replacer.getSearchResult(query: data.word, target: [.emoji]) for emoji in result { - emojiCandidates.append(.additional(.init(text: emoji.text, data: [.init(ruby: "エモジ", cid: CIDData.記号.cid, mid: MIDData.一般.mid, value: -5)], value: -5))) + emojiCandidates.append(.additional(.init(text: emoji.text, data: [.init(ruby: "エモジ", cid: CIDData.記号.cid, mid: MIDData.一般.mid, value: -3)], value: -3))) } } emojiCandidates = self.getUniquePredictionCandidate(emojiCandidates, seenCandidates: seenCandidates)