From 73750bb6aaeb1140bb96588637edc195f4bec17e Mon Sep 17 00:00:00 2001 From: Dnomd343 Date: Tue, 13 Dec 2022 00:16:24 +0800 Subject: [PATCH] =?UTF-8?q?update:=20skip=20`=C2=B7`=20character?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/character/chinese.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/character/chinese.py b/src/character/chinese.py index ca6b94e..5cbc386 100755 --- a/src/character/chinese.py +++ b/src/character/chinese.py @@ -45,7 +45,7 @@ def isSimplified(character: str) -> bool: # whether character is simplified chi def characterCheck(character: str) -> Chinese: # chinese character check character = character[0] - if character in ['—']: # white list + if character in ['—', '·']: # white list return Chinese.OK if isSimplified(character): # simplified chinese case return Chinese.OK