mirror of
https://github.com/LmeSzinc/StarRailCopilot.git
synced 2024-11-25 10:01:10 +00:00
Fix: Remove chinese comma from ocr results
This commit is contained in:
parent
81a26d5e78
commit
364d5e9c5c
@ -7,7 +7,7 @@ import module.config.server as server
|
|||||||
from module.exception import ScriptError
|
from module.exception import ScriptError
|
||||||
|
|
||||||
# ord('.') = 65294
|
# ord('.') = 65294
|
||||||
REGEX_PUNCTUATION = re.compile(r'[ ,..\'"“”,。…::;;!!??·・•●〇°*※\-—–-/\\|丨\n\t()\[\]()「」『』【】《》[]]')
|
REGEX_PUNCTUATION = re.compile(r'[ ,..\'"“”,。、…::;;!!??·・•●〇°*※\-—–-/\\|丨\n\t()\[\]()「」『』【】《》[]]')
|
||||||
|
|
||||||
|
|
||||||
def parse_name(n):
|
def parse_name(n):
|
||||||
|
Loading…
Reference in New Issue
Block a user