korcen 0.3.7__tar.gz → 0.3.8__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {korcen-0.3.7 → korcen-0.3.8}/PKG-INFO +1 -3
- {korcen-0.3.7 → korcen-0.3.8}/korcen/korcen.py +4 -0
- {korcen-0.3.7 → korcen-0.3.8}/korcen.egg-info/PKG-INFO +1 -3
- {korcen-0.3.7 → korcen-0.3.8}/setup.py +1 -1
- {korcen-0.3.7 → korcen-0.3.8}/README +0 -0
- {korcen-0.3.7 → korcen-0.3.8}/korcen/__init__.py +0 -0
- {korcen-0.3.7 → korcen-0.3.8}/korcen.egg-info/SOURCES.txt +0 -0
- {korcen-0.3.7 → korcen-0.3.8}/korcen.egg-info/dependency_links.txt +0 -0
- {korcen-0.3.7 → korcen-0.3.8}/korcen.egg-info/requires.txt +0 -0
- {korcen-0.3.7 → korcen-0.3.8}/korcen.egg-info/top_level.txt +0 -0
- {korcen-0.3.7 → korcen-0.3.8}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: korcen
|
3
|
-
Version: 0.3.
|
3
|
+
Version: 0.3.8
|
4
4
|
Summary: 한국어 비속어 검열
|
5
5
|
Home-page: https://github.com/KR-korcen/korcen
|
6
6
|
Author: Tanat
|
@@ -10,5 +10,3 @@ Classifier: License :: OSI Approved :: MIT License
|
|
10
10
|
Classifier: Operating System :: OS Independent
|
11
11
|
Requires-Python: >=3.6
|
12
12
|
Description-Content-Type: text/markdown
|
13
|
-
Requires-Dist: better_profanity
|
14
|
-
Requires-Dist: OrderedDict
|
@@ -441,6 +441,7 @@ def check(text:str, id: int=None):
|
|
441
441
|
text = re.sub('제꺼져', '', text)
|
442
442
|
text = re.sub('꺼져있', '', text)
|
443
443
|
text = re.sub('꺼져도', '', text)
|
444
|
+
text = re.sub('안꺼져', '', text)
|
444
445
|
text = re.sub('계속꺼져', '', text)
|
445
446
|
text = re.sub('꺼져가', '', text)
|
446
447
|
if "꺼져" in text:
|
@@ -1353,6 +1354,8 @@ def general(text:str, id: int=None):
|
|
1353
1354
|
text = re.sub('동시 8', '', text)
|
1354
1355
|
text = re.sub('8시발', '시발', text)
|
1355
1356
|
text = re.sub('8시 ', '', text)
|
1357
|
+
text = re.sub('!wt ㅂㅇ', '', text)
|
1358
|
+
text = re.sub('!ㅈㅅ ㅂㅇ', '', text)
|
1356
1359
|
text = re.sub("[^ㄱ-힣]", "", text)
|
1357
1360
|
fuck = ["시ㅂ", "시ㅏㄹ", "씨ㅂ", "씨ㅏㄹ", "ㅣ발", "ㅆ발", "ㅅ발", "ㅅㅂ", "ㅆㅂ", "ㅆ바", "ㅅ바",
|
1358
1361
|
"시ㅂㅏ", "ㅅㅂㅏ", "시ㅏㄹ", "씨ㅏㄹ", "ㅅ불", "ㅆ불", "ㅅ쁠", "ㅆ뿔", "ㅆㅣ발", "ㅅㅟ발", "ㅅㅣㅂㅏ",
|
@@ -1415,6 +1418,7 @@ def general(text:str, id: int=None):
|
|
1415
1418
|
text = re.sub('방장', '', text)
|
1416
1419
|
text = re.sub('시바사키', '', text)
|
1417
1420
|
text = re.sub('시발차', '', text)
|
1421
|
+
text = re.sub('구로역 시발', '', text)
|
1418
1422
|
text = re.sub('로벅스', '', text)
|
1419
1423
|
text = re.sub('쉬바나', '', text)
|
1420
1424
|
text = re.sub('벌었는데', '', text)
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: korcen
|
3
|
-
Version: 0.3.
|
3
|
+
Version: 0.3.8
|
4
4
|
Summary: 한국어 비속어 검열
|
5
5
|
Home-page: https://github.com/KR-korcen/korcen
|
6
6
|
Author: Tanat
|
@@ -10,5 +10,3 @@ Classifier: License :: OSI Approved :: MIT License
|
|
10
10
|
Classifier: Operating System :: OS Independent
|
11
11
|
Requires-Python: >=3.6
|
12
12
|
Description-Content-Type: text/markdown
|
13
|
-
Requires-Dist: better_profanity
|
14
|
-
Requires-Dist: OrderedDict
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|