Fix: Remove semicolon in ocr results

This commit is contained in:
LmeSzinc 2023-10-06 23:11:58 +08:00
parent 8b79397984
commit f78049b155

View File

@ -6,7 +6,7 @@ from typing import ClassVar
import module.config.server as server import module.config.server as server
from module.exception import ScriptError from module.exception import ScriptError
REGEX_PUNCTUATION = re.compile(r'[ ,.\'"“”,。:!??·•\-—/\\\n\t()\[\]()「」『』【】《》[]]') REGEX_PUNCTUATION = re.compile(r'[ ,.\'"“”,。:;!??·•\-—/\\\n\t()\[\]()「」『』【】《》[]]')
def parse_name(n): def parse_name(n):