korcen 0.3.16__py3-none-any.whl → 0.3.17__py3-none-any.whl

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/korcen.py CHANGED
@@ -235,6 +235,7 @@ def general(text:str, id: int=None):
235
235
  text = re.sub('다시 불안', '', text)
236
236
  text = re.sub('하시바라 이노스케', '', text)
237
237
  text = re.sub('할 시', '', text)
238
+ text = re.sub('다시 불러', '', text)
238
239
  text = re.sub("[^ㄱ-힣]", "", text)
239
240
  fuck = ["시ㅂ", "시ㅏㄹ", "씨ㅂ", "씨ㅏㄹ", "ㅣ발", "ㅆ발", "ㅅ발", "ㅅㅂ", "ㅆㅂ", "ㅆ바", "ㅅ바",
240
241
  "시ㅂㅏ", "ㅅㅂㅏ", "시ㅏㄹ", "씨ㅏㄹ", "ㅅ불", "ㅆ불", "ㅅ쁠", "ㅆ뿔", "ㅆㅣ발", "ㅅㅟ발", "ㅅㅣㅂㅏ",
@@ -299,6 +300,8 @@ def general(text:str, id: int=None):
299
300
  text = re.sub('구로역 시발', '', text)
300
301
  text = re.sub('로벅스', '', text)
301
302
  text = re.sub('쉬바나', '', text)
303
+ text = re.sub('애쉬바루스', '', text)
304
+ text = re.sub('애쉬바이올렛', '', text)
302
305
  text = re.sub('벌었는데', '', text)
303
306
  text = re.sub('엠씨방', '', text)
304
307
  text = re.sub('빨리', '', text)
@@ -511,7 +514,7 @@ def general(text:str, id: int=None):
511
514
  if i in text:
512
515
  return True
513
516
 
514
- dick = ["w같은"]
517
+ dick = ["w같은", "w도 없"]
515
518
  for i in dick:
516
519
  if i in newtext:
517
520
  return True
@@ -557,7 +560,7 @@ def general(text:str, id: int=None):
557
560
  text = re.sub('내쫒다', '', text)
558
561
  text = re.sub('좇아', '', text)
559
562
  dick = ["좆", "촟", "조까", "좈", "쫒", "졷", "좃", "줮",
560
- "좋같", "좃같", "좃물", "좃밥", "줫", "좋밥", "좋물", "좇"]
563
+ "좋같", "좃같", "좃물", "좃밥", "줫", "좋밥", "좋물", "좇", "조옷까"]
561
564
  for i in dick:
562
565
  if i in text:
563
566
  return True
@@ -834,6 +837,9 @@ def sexual(text:str, id: int=None):
834
837
  text = re.sub('해보지', '', text)
835
838
  text = re.sub('보지마', '', text)
836
839
  text = re.sub('보지말', '', text)
840
+ text = re.sub('맛보지를', '', text)
841
+ text = re.sub('후보지를', '', text)
842
+ text = re.sub('힘내보지', '', text)
837
843
  text = re.sub('안보지만', '', text)
838
844
  text = re.sub('정보', '', text)
839
845
  text = re.sub('지팡이', '', text)
@@ -888,6 +894,7 @@ def sexual(text:str, id: int=None):
888
894
  text = re.sub('지원', '', text)
889
895
  text = re.sub('자지금', '', text)
890
896
  text = re.sub("[^ㄱ-힣]", "", text)
897
+ text = re.sub('늦게자지만', '', text)
891
898
  text = re.sub('자지않', '', text)
892
899
  text = re.sub('어케자지', '', text)
893
900
  text = re.sub('자지도마', '', text)
@@ -896,6 +903,18 @@ def sexual(text:str, id: int=None):
896
903
  text = re.sub('안자지', '', text)
897
904
  text = re.sub('못자지', '', text)
898
905
  text = re.sub('자지금', '', text)
906
+ text = re.sub('남자지만', '', text)
907
+ text = re.sub('여자지만', '', text)
908
+ text = re.sub('지지자지만', '', text)
909
+ text = re.sub('흡연자지만', '', text)
910
+ text = re.sub('유권자지만', '', text)
911
+ text = re.sub('기자지만', '', text)
912
+ text = re.sub('감염자지만', '', text)
913
+ text = re.sub('최강자지만', '', text)
914
+ text = re.sub('수배자지만', '', text)
915
+ text = re.sub('놀랠노자지만', '', text)
916
+ text = re.sub('제자지만', '', text)
917
+ text = re.sub('설립자지만', '', text)
899
918
  text = re.sub('지건', '', text)
900
919
  text = re.sub('감자', '', text)
901
920
  text = re.sub('아', '', text)
@@ -1099,6 +1118,7 @@ def belittle(text:str, id: int=None):
1099
1118
  text = re.sub('뇬', '년', text)
1100
1119
  text = re.sub('놈', '년', text)
1101
1120
  text = re.sub('넘', '년', text)
1121
+ text = re.sub('나같은년', '', text)
1102
1122
  text = re.sub('러운지', '', text)
1103
1123
  text = re.sub('지킬 앤 하이드', '', text)
1104
1124
  text = re.sub('지킬앤하이드', '', text)
@@ -1123,6 +1143,7 @@ def belittle(text:str, id: int=None):
1123
1143
  text = re.sub('8년', '', text)
1124
1144
  text = re.sub('9년', '', text)
1125
1145
  text = re.sub('0년', '', text)
1146
+ text = re.sub('싸가지고', '', text)
1126
1147
  text = re.sub("[^가-힣]", "", text)
1127
1148
  text = re.sub('더운지역', '', text)
1128
1149
  text = re.sub('나따까리', '', text)
@@ -1130,7 +1151,8 @@ def belittle(text:str, id: int=None):
1130
1151
  "창녀", "머저리", "씹쓰래기", "씹쓰레기", "씹장생", "씹자식", "운지", "급식충", "틀딱충", "조센징", "매국노", "똥꼬충", "진지충", "듣보잡", "개찐따",
1131
1152
  "한남충", "정신병자", "중생아", "돌팔이", "김치녀", "폰팔이", "틀딱년", "같은년", "개돼중", "쓰글년", "썩을년", "썩글년", "씹할", "거지새끼", "거지쉐뀌",
1132
1153
  "거지쉑이", "거지쎄끼", "거지쒜리", "걸래가튼", "걸래넘", "걸래년", "걸래놈", "걸레가튼", "걸레년", "그지새끼", "그지새키", "그지색", "기집년", "까진년",
1133
- "깔보", "난잡년", "빡대가리", "더러운년", "돌아이", "또라이", "장애려", "샹놈", "김치남", "김치녀", "혜지련", "한유남충", "페미나치", "페미년", "꼴페미"]
1154
+ "깔보", "난잡년", "빡대가리", "더러운년", "돌아이", "또라이", "장애려", "샹놈", "김치남", "김치녀", "혜지련", "한유남충", "페미나치", "페미년", "꼴페미",
1155
+ "개장애"]
1134
1156
  for i in belittling:
1135
1157
  if i in text:
1136
1158
  return True
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: korcen
3
- Version: 0.3.16
3
+ Version: 0.3.17
4
4
  Summary: 한국어 비속어 검열
5
5
  Home-page: https://github.com/KR-korcen/korcen
6
6
  Author: Tanat
@@ -5,14 +5,14 @@ korcen/chinese.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
5
5
  korcen/english.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
6
6
  korcen/general.py,sha256=mGX9Sw-z9nT0hNYoPOPxD68dIi0nlhRnfqnUxLF3rLI,25595
7
7
  korcen/japanese.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
8
- korcen/korcen.py,sha256=Ho_hNgi0_z-a_ZO7p0DCZIFfvmLbDAFvcPp5rTObims,82308
8
+ korcen/korcen.py,sha256=ZBI-yASbWfzb3jLDxwR3qcbFlN2YlA9XF7BkCj36auM,83352
9
9
  korcen/minor.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
10
10
  korcen/parent.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
11
11
  korcen/politics.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
12
12
  korcen/race.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
13
13
  korcen/sexual.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
14
14
  korcen/special.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
15
- korcen-0.3.16.dist-info/METADATA,sha256=hwHC-_exXufxs3WE47H6kk4Rv3DcNzbEx-POskAUXIE,466
16
- korcen-0.3.16.dist-info/WHEEL,sha256=P9jw-gEje8ByB7_hXoICnHtVCrEwMQh-630tKvQWehc,91
17
- korcen-0.3.16.dist-info/top_level.txt,sha256=2LtNKXroHMOGgMokwiUPWwsJt5kmJ7yhkZ4bmtROZ5c,7
18
- korcen-0.3.16.dist-info/RECORD,,
15
+ korcen-0.3.17.dist-info/METADATA,sha256=mz4-8NNi7WeYM-GkTNLp7oAFs8_LHG6lQWkJ55WIQZ8,466
16
+ korcen-0.3.17.dist-info/WHEEL,sha256=P9jw-gEje8ByB7_hXoICnHtVCrEwMQh-630tKvQWehc,91
17
+ korcen-0.3.17.dist-info/top_level.txt,sha256=2LtNKXroHMOGgMokwiUPWwsJt5kmJ7yhkZ4bmtROZ5c,7
18
+ korcen-0.3.17.dist-info/RECORD,,