From 15527d978388cd62872a94b4a2b2bcec21a88e9e Mon Sep 17 00:00:00 2001 From: Tanat <85154556+Tanat05@users.noreply.github.com> Date: Sun, 7 May 2023 22:42:16 +0900 Subject: [PATCH] Update korcen.py --- korcen/korcen.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/korcen/korcen.py b/korcen/korcen.py index d145e73..e6dd37c 100644 --- a/korcen/korcen.py +++ b/korcen/korcen.py @@ -810,7 +810,6 @@ def check(text:str, id: int=None): if i in text: return True text = re.sub(r'\^', 'ㅅ', newtext) - text = re.sub('sex', '섹스', text) text = re.sub('엑', '', text) text = re.sub('0ㅑ', '야', text) text = re.sub("[^ㄱ-힣]", "", text) @@ -1954,7 +1953,6 @@ def sexual(text:str, id: int=None): if i in text: return True text = re.sub(r'\^', 'ㅅ', newtext) - text = re.sub('sex', '섹스', text) text = re.sub('엑', '', text) text = re.sub('0ㅑ', '야', text) text = re.sub("[^ㄱ-힣]", "", text)