fix: remove chinese comma from ocr results

This commit is contained in:
2026-07-06 22:40:34 +08:00
parent 8af0639490
commit 07df89653c
+1 -1
View File
@@ -7,7 +7,7 @@ import module.config.server as server
from module.exception import ScriptError
# ord('.') = 65294
REGEX_PUNCTUATION = re.compile(r'[ ,..\'"“”,。…::;;!!??·・•●〇°*※\-—–-/\\|丨\n\t()\[\]()「」『』【】《》[]]')
REGEX_PUNCTUATION = re.compile(r'[ ,..\'"“”,。、…::;;!!??·・•●〇°*※\-—–-/\\|丨\n\t()\[\]()「」『』【】《》[]]')
def parse_name(n):