Fix: [CN] Ocr result on word 酩酊

This commit is contained in:
LmeSzinc 2024-09-11 00:00:34 +08:00
parent 706c5c1f7b
commit c034a10595

View File

@ -37,6 +37,8 @@ class OcrItemName(Ocr):
# Error words on blank background # Error words on blank background
result = re.sub('^[國東]', '', result) result = re.sub('^[國東]', '', result)
result = re.sub('時$', '', result) result = re.sub('時$', '', result)
# 一杯酩酊的时代
result = re.sub('一杯[酪酩酊酐]*的', '一杯酩酊的', result)
return result return result