From 4485a8f891e8b32fc253cfb4be2889a0ae376a87 Mon Sep 17 00:00:00 2001 From: LmeSzinc <37934724+LmeSzinc@users.noreply.github.com> Date: Wed, 11 Sep 2024 19:08:57 +0800 Subject: [PATCH] =?UTF-8?q?Fix:=20[CN]=20Ocr=20error=20on=20=E5=B9=BD?= =?UTF-8?q?=E5=9B=9A=E7=8B=B1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tasks/base/main_page.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tasks/base/main_page.py b/tasks/base/main_page.py index a13c407a3..aa21d14a9 100644 --- a/tasks/base/main_page.py +++ b/tasks/base/main_page.py @@ -23,6 +23,9 @@ class OcrPlaneName(OcrWhiteLetterOnComplexBackground): result = result.replace('avatia', 'avalia') # 苏乐达™热砂海选会场 result = re.sub(r'(苏乐达|蘇樂達|SoulGlad|スラーダ|FelizAlma)[rtT]*M*', r'\1', result) + # 幽囚狱 + result = result.replace('幽因狱', '幽囚狱') + result = result.replace('幽因獄', '幽囚獄') # DomainiRespite result = result.replace('omaini', 'omain') # Domain=Combat