korcen 0.3.12__py3-none-any.whl → 0.3.13__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
@@ -444,6 +444,7 @@ def general(text:str, id: int=None):
444
444
  text = re.sub('내꺼져', '', text)
445
445
  text = re.sub('제꺼져', '', text)
446
446
  text = re.sub('꺼져있', '', text)
447
+ text = re.sub('꺼져잇', '', text)
447
448
  text = re.sub('꺼져도', '', text)
448
449
  text = re.sub('계속꺼져', '', text)
449
450
  text = re.sub('꺼져가', '', text)
@@ -511,6 +512,7 @@ def general(text:str, id: int=None):
511
512
  text = re.sub('刀卜', '까', text)
512
513
  text = re.sub("[^ㄱ-힣]", "", text)
513
514
  text = re.sub('줫습니다', '', text)
515
+ text = re.sub('줫음', '', text)
514
516
  text = re.sub('쫒아', '', text)
515
517
  text = re.sub('쫒기다', '', text)
516
518
  text = re.sub('쫒기라', '', text)
@@ -675,7 +677,11 @@ def minor(text:str, id: int=None):
675
677
  text = re.sub("뒤질뻔", "", text)
676
678
  text = re.sub("뒤져보다", "", text)
677
679
  text = re.sub("뒤져보는", "", text)
680
+ text = re.sub("뒤져보고", "", text)
681
+ text = re.sub("뒤져간다", "", text)
682
+ text = re.sub("뒤져서", "", text)
678
683
  text = re.sub("뒤져본", "", text)
684
+ text = re.sub("뒤져봄", "", text)
679
685
  text = re.sub("뒤져볼", "", text)
680
686
  picking = ["뒤져", "뒈져", "뒈진", "뒈질", "디져라", "디진다", "디질래", "뒤질"]
681
687
  for i in picking:
@@ -1254,6 +1260,7 @@ def english(text:str, id: int=None):
1254
1260
  text = re.sub("```css", "", newtext)
1255
1261
  text = re.sub("ex\)", "", text)
1256
1262
  text = re.sub("\*", "", text)
1263
+ text = re.sub("omg", "", text)
1257
1264
  censored_text = profanity.censor(text, '▩')
1258
1265
  if '▩' in censored_text:
1259
1266
  return True
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: korcen
3
- Version: 0.3.12
3
+ Version: 0.3.13
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=9ClsPHOEsgIWGLO5E5Hu9ZmRen9lPhVrn0sy_z5vi-4,80618
8
+ korcen/korcen.py,sha256=diM9gcx354rvaLQo9ZhJamUwsYr0W7JknVoNShMx_Fk,80909
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.12.dist-info/METADATA,sha256=UY1TvLjrbAi3OMp_R50Ie7QsAAw7BX7ZUY0Y1MhNs5w,466
16
- korcen-0.3.12.dist-info/WHEEL,sha256=UvcQYKBHoFqaQd6LKyqHw9fxEolWLQnlzP0h_LgJAfI,91
17
- korcen-0.3.12.dist-info/top_level.txt,sha256=2LtNKXroHMOGgMokwiUPWwsJt5kmJ7yhkZ4bmtROZ5c,7
18
- korcen-0.3.12.dist-info/RECORD,,
15
+ korcen-0.3.13.dist-info/METADATA,sha256=-E0uTTBYAOpTvTKRwTNLb1QE7wRtzZGLKvSk7mQoqao,466
16
+ korcen-0.3.13.dist-info/WHEEL,sha256=UvcQYKBHoFqaQd6LKyqHw9fxEolWLQnlzP0h_LgJAfI,91
17
+ korcen-0.3.13.dist-info/top_level.txt,sha256=2LtNKXroHMOGgMokwiUPWwsJt5kmJ7yhkZ4bmtROZ5c,7
18
+ korcen-0.3.13.dist-info/RECORD,,