korcen 0.3.14__py3-none-any.whl → 0.3.16__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
@@ -227,6 +227,14 @@ def general(text:str, id: int=None):
227
227
  text = re.sub('8시 ', '', text)
228
228
  text = re.sub('!wt ㅂㅇ', '', text)
229
229
  text = re.sub('!ㅈㅅ ㅂㅇ', '', text)
230
+ text = re.sub('다시 방', '', text)
231
+ text = re.sub('시 불이익', '', text)
232
+ text = re.sub('다시 바꿀', '', text)
233
+ text = re.sub('다시 바꿔', '', text)
234
+ text = re.sub('다시 불러', '', text)
235
+ text = re.sub('다시 불안', '', text)
236
+ text = re.sub('하시바라 이노스케', '', text)
237
+ text = re.sub('할 시', '', text)
230
238
  text = re.sub("[^ㄱ-힣]", "", text)
231
239
  fuck = ["시ㅂ", "시ㅏㄹ", "씨ㅂ", "씨ㅏㄹ", "ㅣ발", "ㅆ발", "ㅅ발", "ㅅㅂ", "ㅆㅂ", "ㅆ바", "ㅅ바",
232
240
  "시ㅂㅏ", "ㅅㅂㅏ", "시ㅏㄹ", "씨ㅏㄹ", "ㅅ불", "ㅆ불", "ㅅ쁠", "ㅆ뿔", "ㅆㅣ발", "ㅅㅟ발", "ㅅㅣㅂㅏ",
@@ -235,8 +243,6 @@ def general(text:str, id: int=None):
235
243
  if i in text:
236
244
  return True
237
245
 
238
- text = re.sub('다시 방', '', text)
239
- text = re.sub('다시 불러', '', text)
240
246
  text = re.sub('불러드', '', text)
241
247
  text = re.sub('시발음', '', text)
242
248
  text = re.sub('시발택시', '', text)
@@ -300,7 +306,6 @@ def general(text:str, id: int=None):
300
306
  text = re.sub('벌금', '', text)
301
307
  text = re.sub('시방향', '', text)
302
308
  text = re.sub('불법', '', text)
303
- text = re.sub('할시', '', text)
304
309
  text = re.sub('발릴', '', text)
305
310
  text = re.sub('발표', '', text)
306
311
  text = re.sub('방송', '', text)
@@ -317,7 +322,6 @@ def general(text:str, id: int=None):
317
322
  text = re.sub('이', '', text)
318
323
  text = re.sub('일', '', text)
319
324
  text = re.sub('의', '', text)
320
- text = re.sub('하시바라 이노스케', '', text)
321
325
  text = re.sub("[^가-힣]", "", text)
322
326
  text = re.sub('즉시발급', '', text)
323
327
  text = re.sub('련', '놈', text)
@@ -332,7 +336,7 @@ def general(text:str, id: int=None):
332
336
  "뛰봘", "뜨발", "뜨벌", "띄발", "씨바알", "샤빨", "샤발", "스벌", "쓰벌", "신발련", "신발년", "신발놈", "띠발",
333
337
  "띠바랄", "시방", "씨방", "씨부련", "시부련", "씨잇발", "씨잇파알", "씨잇바알", "시잇발", "시잇바알", "쒸이발",
334
338
  "쉬이빨", "씹팔", "쉬바", "시병발신", "씱빩", "쉬바난", "쉬바놈", "쉬바녀", "쉬바년", "쉬바노마", "쉬바새", "쉬불", "쉬이바",
335
- "시벨놈", "시뱅놈", "시봉새", "씻뻘"]
339
+ "시벨놈", "시뱅놈", "시봉새", "씻뻘", "씌벌"]
336
340
  for i in fuck:
337
341
  if i in text:
338
342
  return True
@@ -361,7 +365,7 @@ def general(text:str, id: int=None):
361
365
  text = re.sub("있지", "", text)
362
366
  text = re.sub("없지", "", text)
363
367
  text = re.sub("하지", "", text)
364
- ext = re.sub('알았지', '', text)
368
+ text = re.sub('알았지', '', text)
365
369
  text = re.sub('몰랐지', '', text)
366
370
  text = re.sub('근데', '', text)
367
371
  text = re.sub('지근거', '', text)
@@ -423,13 +427,14 @@ def general(text:str, id: int=None):
423
427
  text = re.sub("[^가-힣]", "", text)
424
428
  text = re.sub('영', '', text)
425
429
  text = re.sub('엉', '', text)
426
- asshole = ["병신", "병딱", "벼신", "붱신", "뼝신", "뿽신", "삥신", "병시니", "병형신", "뵹신", "병긴"]
430
+ asshole = ["병신", "병딱", "벼신", "붱신", "뼝신", "뿽신", "삥신", "병시니", "병형신", "뵹신", "병긴", "비응신"]
427
431
  for i in asshole:
428
432
  if i in text:
429
433
  return True
430
434
 
431
435
  text = re.sub('전염병', '', newtext)
432
436
  text = re.sub('감염병', '', text)
437
+ text = re.sub('화염병', '', text)
433
438
  text = re.sub("[^가-힣]", "", text)
434
439
  motherfucker = ["염병", "엠병", "옘병", "염병", "얨병", "옘뼝"]
435
440
  for i in motherfucker:
@@ -490,6 +495,7 @@ def general(text:str, id: int=None):
490
495
  text = re.sub('세끼먹', '', text)
491
496
  text = re.sub('고양이새끼', '', text)
492
497
  text = re.sub('호랑이새끼', '', text)
498
+ text = re.sub('용새끼', '', text)
493
499
  text = re.sub('말새끼', '', text)
494
500
  text = re.sub('사자새끼', '', text)
495
501
  text = re.sub('범새끼', '', text)
@@ -498,8 +504,9 @@ def general(text:str, id: int=None):
498
504
  text = re.sub('새끼손', '', text)
499
505
  text = re.sub('셰리프', '', text)
500
506
  text = re.sub('로쉐리', '', text)
501
- sonofbitch = ["새끼", "쉐리", "쌔끼", "썌끼", "쎼끼", "쌬끼", "샠끼", "세끼", "샊", "쌖", "섺", "쎆", "십새", "새키", "씹색", "새까", "새꺄",
502
- "새뀌", "새끠", "새캬", "색꺄", "색끼", "섹히", "셁기", "셁끼", "셐기", "셰끼", "셰리", "쉐꺄", "십색꺄", "십떼끼", "십데꺄", "십때끼", "십새꺄", "십새캬", "쉑히", "씹새기", "고아새기"]
507
+ sonofbitch = ["새끼", "쉐리", "쌔끼", "썌끼", "쎼끼", "쌬끼", "샠끼", "세끼", "샊", "쌖", "섺", "쎆", "십새", "새키", "씹색", "새까", "새꺄", "샛끼",
508
+ "새뀌", "새끠", "새캬", "색꺄", "색끼", "섹히", "셁기", "셁끼", "셐기", "셰끼", "셰리", "쉐꺄", "십색꺄", "십떼끼", "십데꺄", "십때끼",
509
+ "십새꺄", "십새캬", "쉑히", "씹새기", "고아새기", "샠기", "애새기", "이새기", "느그새기", "장애새기"]
503
510
  for i in sonofbitch:
504
511
  if i in text:
505
512
  return True
@@ -510,10 +517,12 @@ def general(text:str, id: int=None):
510
517
  return True
511
518
  text = re.sub('丕', '조', newtext)
512
519
  text = re.sub('刀卜', '까', text)
520
+ text = re.sub(r'조 \d+까지', '', text)
513
521
  text = re.sub("[^ㄱ-힣]", "", text)
514
522
  text = re.sub('줫습니다', '', text)
515
523
  text = re.sub('줫음', '', text)
516
524
  text = re.sub('줫잖아', '', text)
525
+ text = re.sub('줫겠지', '', text)
517
526
  text = re.sub('쫒아', '', text)
518
527
  text = re.sub('쫒는', '', text)
519
528
  text = re.sub('쫒기다', '', text)
@@ -615,6 +624,7 @@ def general(text:str, id: int=None):
615
624
  text = re.sub('넘는', '', text)
616
625
  text = re.sub('소개', '', text)
617
626
  text = re.sub('생긴게', '', text)
627
+ text = re.sub('날개같다', '', text)
618
628
  sonofagun = ["개같", "개가튼", "개쉑", "개스키", "개세끼", "개색히", "개가뇬", "개새기", "개쌔기", "개쌔끼", "쌖", "쎆", "새긔", "개소리", "개년", "개소리",
619
629
  "개드립", "개돼지", "개씹창", "개간나", "개스끼", "개섹기", "개자식", "개때꺄", "개때끼", "개발남아", "개샛끼", "개가든", "개가뜬", "개가턴", "개가툰", "개가튼",
620
630
  "개갇은", "개갈보", "개걸레", "개너마", "개너므", "개넌", "개넘", "개녀나", "개년", "개노마", "개노무새끼", "개논", "개놈", "개뇨나", "개뇬", "개뇸", "개뇽", "개눔",
@@ -628,7 +638,7 @@ def general(text:str, id: int=None):
628
638
  "개졎", "개조또", "개조옷", "개족", "개좃", "개좆", "개좇", "개지랄", "개지럴", "개창년", "개허러", "개허벌년", "개호러", "개호로", "개후랄", "개후레", "개후로",
629
639
  "개후장", "걔섀끼", "걔잡넘", "걔잡년", "걔잡뇬", "게가튼", "게같은", "게너마", "게년", "게노마", "게놈", "게뇨나", "게뇬", "게뇸", "게뇽", "게눔", "게늠",
630
640
  "게띠발넘", "게부랄", "게부알", "게새끼", "게새리", "게새키", "게색", "게색기", "게색끼", "게샛키", "게세꺄", "게자지", "게잡넘", "게잡년", "게잡뇬", "게젓",
631
- "게좆", "계같은뇬", "계뇬", "계뇽", "쉬댕", "쉬뎅"]
641
+ "게좆", "계같은뇬", "계뇬", "계뇽", "쉬댕", "쉬뎅", "개생끼"]
632
642
  for i in sonofagun:
633
643
  if i in text:
634
644
  return True
@@ -664,7 +674,7 @@ def minor(text:str, id: int=None):
664
674
  text = re.sub('미틴', '미친', text)
665
675
  text = re.sub('년', '놈', text)
666
676
  text = re.sub('련', '놈', text)
667
- damnit = ["미친놈", "무친놈"]
677
+ damnit = ["미친놈", "미친새끼"]
668
678
  for i in damnit:
669
679
  if i in text:
670
680
  return True
@@ -803,6 +813,7 @@ def sexual(text:str, id: int=None):
803
813
  text = re.sub('보지안으', '', text)
804
814
  text = re.sub('보지안아', '', text)
805
815
  text = re.sub('게 보지', '', text)
816
+ text = re.sub('어케 보지', '', text)
806
817
  text = re.sub("[^ㄱ-힣]", "", text)
807
818
  text = re.sub('보g', '보지', text)
808
819
  text = re.sub('하나보지', '', text)
@@ -822,8 +833,8 @@ def sexual(text:str, id: int=None):
822
833
  text = re.sub('보지않', '', text)
823
834
  text = re.sub('해보지', '', text)
824
835
  text = re.sub('보지마', '', text)
825
- text = re.sub('어케 보지', '', text)
826
836
  text = re.sub('보지말', '', text)
837
+ text = re.sub('안보지만', '', text)
827
838
  text = re.sub('정보', '', text)
828
839
  text = re.sub('지팡이', '', text)
829
840
  text = re.sub('행보', '', text)
@@ -1115,8 +1126,8 @@ def belittle(text:str, id: int=None):
1115
1126
  text = re.sub("[^가-힣]", "", text)
1116
1127
  text = re.sub('더운지역', '', text)
1117
1128
  text = re.sub('나따까리', '', text)
1118
- belittling = ["따까리", "장애년", "찐따년", "싸가지", "창년", "썅년", "버러지", "고아년", "고아년", "개간년", "종간나", "도구년", "걸래년", "썅년", "씹년",
1119
- "창녀", "머저리", "씹쓰래기", "씹쓰레기", "씹장생", "씹자식", "운지", "급식충", "틀딱충", "조센징", "매국노", "똥꼬충", "진지충", "듣보잡",
1129
+ belittling = ["따까리", "장애년", "찐따년", "싸가지", "창년", "썅년", "버러지", "고아년", "고아년", "개간년", "종간나", "도구년", "걸래년", "썅년", "씹년", "개걸레",
1130
+ "창녀", "머저리", "씹쓰래기", "씹쓰레기", "씹장생", "씹자식", "운지", "급식충", "틀딱충", "조센징", "매국노", "똥꼬충", "진지충", "듣보잡", "개찐따",
1120
1131
  "한남충", "정신병자", "중생아", "돌팔이", "김치녀", "폰팔이", "틀딱년", "같은년", "개돼중", "쓰글년", "썩을년", "썩글년", "씹할", "거지새끼", "거지쉐뀌",
1121
1132
  "거지쉑이", "거지쎄끼", "거지쒜리", "걸래가튼", "걸래넘", "걸래년", "걸래놈", "걸레가튼", "걸레년", "그지새끼", "그지새키", "그지색", "기집년", "까진년",
1122
1133
  "깔보", "난잡년", "빡대가리", "더러운년", "돌아이", "또라이", "장애려", "샹놈", "김치남", "김치녀", "혜지련", "한유남충", "페미나치", "페미년", "꼴페미"]
@@ -1160,7 +1171,7 @@ def parent(text:str, id: int=None):
1160
1171
  text = text.lower()
1161
1172
  newtext = re.sub(' ', '', text)
1162
1173
 
1163
- your = ["ㄴ1ㄱ", "ㄴ1ㅁ", "느금ㅁ", "ㄴㄱ마", "ㄴㄱ빠", "ㄴ금빠", "ㅇH미", "ㄴ1에미", "늬애미"]
1174
+ your = ["ㄴ1ㄱ", "ㄴ1ㅁ", "느금ㅁ", "ㄴㄱ마", "ㄴㄱ빠", "ㄴ금빠", "ㅇH미", "ㄴ1에미", "늬애미", "@ㅐ미", "@ㅐ비"]
1164
1175
  for i in your:
1165
1176
  if i in newtext:
1166
1177
  return True
@@ -1187,7 +1198,10 @@ def parent(text:str, id: int=None):
1187
1198
  text = re.sub("[^가-힣]", "", newtext)
1188
1199
  text = re.sub("도", "", text)
1189
1200
  motherfuck = ["니애미", "노애미", "노앰", "앰뒤련", "애믿쥐",
1190
- "아버지도없는게", "애미도없는게", "애비도없는게", "어머니도없는게", "엄마없네", "니애비", "노애비", "애미없", "애비없", "애미뒤", "애비뒤", "니아빠", "너에미", "눼기미", "뉘귀미", "뉘기미", "뉘김이", "뉘뮈", "뉘미랄", "뉘미럴", "뉘미롤", "뉘밀얼", "뉘밀할", "뉘어미", "뉘에미", "느검마", "늬긔미", "늬기미", "니기미", "니믜창", "니미랄", "니미럴", "니미쒸블", "니미씨펄넘", "니미좃", "니밀할", "니부랑", "니뽕좃", "애미죽"]
1201
+ "아버지없는게", "애미없는게", "애비없는게", "어머니없는게", "엄마없네", "니애비", "노애비", "애미없", "애비없", "애미뒤", "애비뒤",
1202
+ "니아빠", "너에미", "눼기미", "뉘귀미", "뉘기미", "뉘김이", "뉘뮈", "뉘미랄", "뉘미럴", "뉘미롤", "뉘밀얼", "뉘밀할", "뉘어미", "뉘에미",
1203
+ "느검마", "늬긔미", "늬기미", "니기미", "니믜창", "니미랄", "니미럴", "니미쒸블", "니미씨펄넘", "니미좃", "니밀할", "니부랑", "니뽕좃",
1204
+ "애미죽", "애미디진"]
1191
1205
  for i in motherfuck:
1192
1206
  if i in text:
1193
1207
  return True
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: korcen
3
- Version: 0.3.14
3
+ Version: 0.3.16
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=Qb5sppEoU1-0LUkfxbBI860KfpVz_8e96Y7zU55us64,81603
8
+ korcen/korcen.py,sha256=Ho_hNgi0_z-a_ZO7p0DCZIFfvmLbDAFvcPp5rTObims,82308
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.14.dist-info/METADATA,sha256=JE37kDyC2BgVpwQrghAn6JPZjVbH5SnLfv_ldb_ZoRE,466
16
- korcen-0.3.14.dist-info/WHEEL,sha256=P9jw-gEje8ByB7_hXoICnHtVCrEwMQh-630tKvQWehc,91
17
- korcen-0.3.14.dist-info/top_level.txt,sha256=2LtNKXroHMOGgMokwiUPWwsJt5kmJ7yhkZ4bmtROZ5c,7
18
- korcen-0.3.14.dist-info/RECORD,,
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,,