From be2655db6ea5e291dea9898c22898b38925d36a6 Mon Sep 17 00:00:00 2001 From: LmeSzinc <37934724+LmeSzinc@users.noreply.github.com> Date: Wed, 11 Sep 2024 22:08:40 +0800 Subject: [PATCH] =?UTF-8?q?Fix:=20[CN]=20ocr=20error=20on=20=E8=A0=A2?= =?UTF-8?q?=E5=8A=A8=E5=8E=9F=E6=A0=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tasks/dungeon/ui/llist.py | 2 ++ tasks/planner/scan.py | 2 ++ 2 files changed, 4 insertions(+) diff --git a/tasks/dungeon/ui/llist.py b/tasks/dungeon/ui/llist.py index e11e3efe8..e49c02d59 100644 --- a/tasks/dungeon/ui/llist.py +++ b/tasks/dungeon/ui/llist.py @@ -55,6 +55,8 @@ class OcrDungeonName(Ocr): result = re.sub('^怒之形', '嗔怒之形', result) # 蛀星的旧·历战余响 result = re.sub(r'蛀星的旧.*?历战', '蛀星的旧靥•历战', result) + # 蠹役饥肠 + result = re.sub('[鑫蠢]役', '蠹役', result) # 9支援仓段 for word in 'Q9α': diff --git a/tasks/planner/scan.py b/tasks/planner/scan.py index 7919f72c2..3473b218c 100644 --- a/tasks/planner/scan.py +++ b/tasks/planner/scan.py @@ -39,6 +39,8 @@ class OcrItemName(Ocr): result = re.sub('時$', '', result) # 一杯酩酊的时代 result = re.sub('一杯[酪酩酊酐]*的', '一杯酩酊的', result) + # 蠢动原核 + result = re.sub('[鑫蠹]动', '蠢动', result) return result