korcen 0.3.6__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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: korcen
3
- Version: 0.3.6
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:
@@ -536,6 +537,7 @@ def check(text:str, id: int=None):
536
537
  text = re.sub('줫다', '', text)
537
538
  text = re.sub('내쫒은', '', text)
538
539
  text = re.sub('내쫒다', '', text)
540
+ text = re.sub('좇아', '', text)
539
541
  dick = ["좆", "촟", "조까", "좈", "쫒", "졷", "좃", "줮",
540
542
  "좋같", "좃같", "좃물", "좃밥", "줫", "좋밥", "좋물", "좇"]
541
543
  for i in dick:
@@ -712,6 +714,8 @@ def check(text:str, id: int=None):
712
714
  text = re.sub('빨리 보지', '', text)
713
715
  text = re.sub('보지도 마', '', text)
714
716
  text = re.sub('보지는 않', '', text)
717
+ text = re.sub('보지안으', '', text)
718
+ text = re.sub('보지안아', '', text)
715
719
  text = re.sub('게 보지', '', text)
716
720
  text = re.sub("[^ㄱ-힣]", "", text)
717
721
  text = re.sub('보g', '보지', text)
@@ -916,6 +920,8 @@ def check(text:str, id: int=None):
916
920
  text = re.sub("작업자", "", text)
917
921
  text = re.sub("자기위로", "자위", text)
918
922
  text = re.sub("위대하지", "", text)
923
+ text = re.sub("암살자", "", text)
924
+ text = re.sub("학자", "", text)
919
925
  onahole = ["딸딸이", "질싸", "안에사정", "자위남", "자위녀", "폰섹", "포르노", "폰세엑", "폰쉑", "폰쎅", "질내사정", "그룹섹", "남창", "男色", "누워라이년아",
920
926
  "누웠냐씨방새", "다리벌려", "대줄년", "뒤로너어줘", "딸따뤼", "딸쳐", "떡쳐라", "막대쑤셔줘", "막대핥아줘", "먹고보니내딸", "먹고보니누나", "먹고보니딸",
921
927
  "먹고보니똥개", "먹고보니엄마", "먹고보니응아", "먹고보니재수", "먹고보니처제", "먹고보니형수", "몸뚱이줄께", "몸안에사정", "밖에다쌀께", "박고빼고",
@@ -1348,6 +1354,8 @@ def general(text:str, id: int=None):
1348
1354
  text = re.sub('동시 8', '', text)
1349
1355
  text = re.sub('8시발', '시발', text)
1350
1356
  text = re.sub('8시 ', '', text)
1357
+ text = re.sub('!wt ㅂㅇ', '', text)
1358
+ text = re.sub('!ㅈㅅ ㅂㅇ', '', text)
1351
1359
  text = re.sub("[^ㄱ-힣]", "", text)
1352
1360
  fuck = ["시ㅂ", "시ㅏㄹ", "씨ㅂ", "씨ㅏㄹ", "ㅣ발", "ㅆ발", "ㅅ발", "ㅅㅂ", "ㅆㅂ", "ㅆ바", "ㅅ바",
1353
1361
  "시ㅂㅏ", "ㅅㅂㅏ", "시ㅏㄹ", "씨ㅏㄹ", "ㅅ불", "ㅆ불", "ㅅ쁠", "ㅆ뿔", "ㅆㅣ발", "ㅅㅟ발", "ㅅㅣㅂㅏ",
@@ -1410,6 +1418,7 @@ def general(text:str, id: int=None):
1410
1418
  text = re.sub('방장', '', text)
1411
1419
  text = re.sub('시바사키', '', text)
1412
1420
  text = re.sub('시발차', '', text)
1421
+ text = re.sub('구로역 시발', '', text)
1413
1422
  text = re.sub('로벅스', '', text)
1414
1423
  text = re.sub('쉬바나', '', text)
1415
1424
  text = re.sub('벌었는데', '', text)
@@ -1658,6 +1667,7 @@ def general(text:str, id: int=None):
1658
1667
  text = re.sub('줫다', '', text)
1659
1668
  text = re.sub('내쫒은', '', text)
1660
1669
  text = re.sub('내쫒다', '', text)
1670
+ text = re.sub('좇아', '', text)
1661
1671
  dick = ["좆", "촟", "조까", "좈", "쫒", "졷", "좃", "줮",
1662
1672
  "좋같", "좃같", "좃물", "좃밥", "줫", "좋밥", "좋물", "좇"]
1663
1673
  for i in dick:
@@ -1920,6 +1930,8 @@ def sexual(text:str, id: int=None):
1920
1930
  text = re.sub('빨리 보지', '', text)
1921
1931
  text = re.sub('보지도 마', '', text)
1922
1932
  text = re.sub('보지는 않', '', text)
1933
+ text = re.sub('보지안으', '', text)
1934
+ text = re.sub('보지안아', '', text)
1923
1935
  text = re.sub('게 보지', '', text)
1924
1936
  text = re.sub("[^ㄱ-힣]", "", text)
1925
1937
  text = re.sub('보g', '보지', text)
@@ -2124,6 +2136,8 @@ def sexual(text:str, id: int=None):
2124
2136
  text = re.sub("작업자", "", text)
2125
2137
  text = re.sub("자기위로", "자위", text)
2126
2138
  text = re.sub("위대하지", "", text)
2139
+ text = re.sub("암살자", "", text)
2140
+ text = re.sub("학자", "", text)
2127
2141
  onahole = ["딸딸이", "질싸", "안에사정", "자위남", "자위녀", "폰섹", "포르노", "폰세엑", "폰쉑", "폰쎅", "질내사정", "그룹섹", "남창", "男色", "누워라이년아",
2128
2142
  "누웠냐씨방새", "다리벌려", "대줄년", "뒤로너어줘", "딸따뤼", "딸쳐", "떡쳐라", "막대쑤셔줘", "막대핥아줘", "먹고보니내딸", "먹고보니누나", "먹고보니딸",
2129
2143
  "먹고보니똥개", "먹고보니엄마", "먹고보니응아", "먹고보니재수", "먹고보니처제", "먹고보니형수", "몸뚱이줄께", "몸안에사정", "밖에다쌀께", "박고빼고",
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: korcen
3
- Version: 0.3.6
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
@@ -5,7 +5,7 @@ with open("README", "r") as fh:
5
5
 
6
6
  setuptools.setup(
7
7
  name="korcen", # Replace with your own PyPI username(id)
8
- version="0.3.6",
8
+ version="0.3.8",
9
9
  author="Tanat",
10
10
  author_email="shrbwjd05@naver.com",
11
11
  description="한국어 비속어 검열",
File without changes
File without changes
File without changes