Fix: [CN] Ocr error on 幽囚狱

This commit is contained in:
LmeSzinc 2024-09-11 19:08:57 +08:00
parent f959b53445
commit 4485a8f891

View File

@ -23,6 +23,9 @@ class OcrPlaneName(OcrWhiteLetterOnComplexBackground):
result = result.replace('avatia', 'avalia') result = result.replace('avatia', 'avalia')
# 苏乐达™热砂海选会场 # 苏乐达™热砂海选会场
result = re.sub(r'(苏乐达|蘇樂達|SoulGlad|スラーダ|FelizAlma)[rtT]*M*', r'\1', result) result = re.sub(r'(苏乐达|蘇樂達|SoulGlad|スラーダ|FelizAlma)[rtT]*M*', r'\1', result)
# 幽囚狱
result = result.replace('幽因狱', '幽囚狱')
result = result.replace('幽因獄', '幽囚獄')
# DomainiRespite # DomainiRespite
result = result.replace('omaini', 'omain') result = result.replace('omaini', 'omain')
# Domain=Combat # Domain=Combat