Browse Source

update: skip `·` character

master
Dnomd343 2 years ago
parent
commit
73750bb6aa
  1. 2
      src/character/chinese.py

2
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

Loading…
Cancel
Save