korcen 0.3.9__py3-none-any.whl → 0.3.10__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
@@ -14,12 +14,12 @@ def save_text(id, text):
|
|
14
14
|
cache.move_to_end(id)
|
15
15
|
content = cache[id] + text
|
16
16
|
cache[id] = text
|
17
|
-
if len(cache)
|
17
|
+
if len(cache) <= cache_size:
|
18
18
|
cache.popitem(last=False)
|
19
19
|
return content
|
20
20
|
|
21
21
|
|
22
|
-
if len(cache)
|
22
|
+
if len(cache) <= cache_size:
|
23
23
|
cache.popitem(last=False)
|
24
24
|
|
25
25
|
cache[id] = text
|
@@ -52,6 +52,7 @@ def check(text:str, id: int=None):
|
|
52
52
|
text = re.sub('🅢', 's', text)
|
53
53
|
text = re.sub('🆂', 's', text)
|
54
54
|
text = re.sub('🅂', 's', text)
|
55
|
+
text = re.sub('𝑺', 's', text)
|
55
56
|
text = re.sub('𝖾', 'e', text)
|
56
57
|
text = re.sub('𝘦', 'e', text)
|
57
58
|
text = re.sub('𝙚', 'e', text)
|
@@ -228,13 +229,14 @@ def check(text:str, id: int=None):
|
|
228
229
|
text = re.sub("[^ㄱ-힣]", "", text)
|
229
230
|
fuck = ["시ㅂ", "시ㅏㄹ", "씨ㅂ", "씨ㅏㄹ", "ㅣ발", "ㅆ발", "ㅅ발", "ㅅㅂ", "ㅆㅂ", "ㅆ바", "ㅅ바",
|
230
231
|
"시ㅂㅏ", "ㅅㅂㅏ", "시ㅏㄹ", "씨ㅏㄹ", "ㅅ불", "ㅆ불", "ㅅ쁠", "ㅆ뿔", "ㅆㅣ발", "ㅅㅟ발", "ㅅㅣㅂㅏ",
|
231
|
-
"ㅣ바알", "ㅅ벌", "^^ㅣ벌", "ㅆ삐라", "씨ㅃ"]
|
232
|
+
"ㅣ바알", "ㅅ벌", "^^ㅣ벌", "ㅆ삐라", "씨ㅃ", "^^/발"]
|
232
233
|
for i in fuck:
|
233
234
|
if i in text:
|
234
235
|
return True
|
235
236
|
|
236
237
|
text = re.sub('다시 방', '', text)
|
237
238
|
text = re.sub('다시 불러', '', text)
|
239
|
+
text = re.sub('불러드', '', text)
|
238
240
|
text = re.sub('시발음', '', text)
|
239
241
|
text = re.sub('시발택시', '', text)
|
240
242
|
text = re.sub('시발자동차', '', text)
|
@@ -315,6 +317,7 @@ def check(text:str, id: int=None):
|
|
315
317
|
text = re.sub('의', '', text)
|
316
318
|
text = re.sub('하시바라 이노스케', '', text)
|
317
319
|
text = re.sub("[^가-힣]", "", text)
|
320
|
+
text = re.sub('즉시발급', '', text)
|
318
321
|
text = re.sub('련', '놈', text)
|
319
322
|
text = re.sub('뇬', '놈', text)
|
320
323
|
text = re.sub('놈', '놈', text)
|
@@ -492,6 +495,7 @@ def check(text:str, id: int=None):
|
|
492
495
|
text = re.sub('키보드', '', text)
|
493
496
|
text = re.sub('새끼손', '', text)
|
494
497
|
text = re.sub('셰리프', '', text)
|
498
|
+
text = re.sub('로쉐리', '', text)
|
495
499
|
sonofbitch = ["새끼", "쉐리", "쌔끼", "썌끼", "쎼끼", "쌬끼", "샠끼", "세끼", "샊", "쌖", "섺", "쎆", "십새", "새키", "씹색", "새까", "새꺄",
|
496
500
|
"새뀌", "새끠", "새캬", "색꺄", "색끼", "섹히", "셁기", "셁끼", "셐기", "셰끼", "셰리", "쉐꺄", "십색꺄", "십떼끼", "십데꺄", "십때끼", "십새꺄", "십새캬", "쉑히"]
|
497
501
|
for i in sonofbitch:
|
@@ -654,19 +658,6 @@ def check(text:str, id: int=None):
|
|
654
658
|
if i in text:
|
655
659
|
return True
|
656
660
|
|
657
|
-
text = re.sub("[^ㄱ-힣]", "", text)
|
658
|
-
picking = ["ㅈㄴ", "ㅈ나", "존ㄴ", "존맛"]
|
659
|
-
for i in picking:
|
660
|
-
if i in text:
|
661
|
-
return True
|
662
|
-
text = re.sub("그만 졸라", "", text)
|
663
|
-
text = re.sub("[^가-힣]", "", text)
|
664
|
-
text = re.sub("졸라서", "", text)
|
665
|
-
text = re.sub("졸라맨", "", text)
|
666
|
-
picking = ["존나", "존내", "쫀나", "존네","줜나"]
|
667
|
-
for i in picking:
|
668
|
-
if i in text:
|
669
|
-
return True
|
670
661
|
|
671
662
|
text = re.sub("[^가-힣]", "", newtext)
|
672
663
|
text = re.sub("뒤져봐야", "", text)
|
@@ -718,6 +709,7 @@ def check(text:str, id: int=None):
|
|
718
709
|
text = re.sub('게 보지', '', text)
|
719
710
|
text = re.sub("[^ㄱ-힣]", "", text)
|
720
711
|
text = re.sub('보g', '보지', text)
|
712
|
+
text = re.sub('하나보지', '', text)
|
721
713
|
text = re.sub('켜보지', '', text)
|
722
714
|
text = re.sub('보지맙', '', text)
|
723
715
|
text = re.sub('초보지', '', text)
|
@@ -787,6 +779,7 @@ def check(text:str, id: int=None):
|
|
787
779
|
text = re.sub('자지금', '', text)
|
788
780
|
text = re.sub("[^ㄱ-힣]", "", text)
|
789
781
|
text = re.sub('자지않', '', text)
|
782
|
+
text = re.sub('어케자지', '', text)
|
790
783
|
text = re.sub('자지도마', '', text)
|
791
784
|
text = re.sub('자지는않', '', text)
|
792
785
|
text = re.sub('자지좀마', '', text)
|
@@ -864,6 +857,7 @@ def check(text:str, id: int=None):
|
|
864
857
|
text = re.sub('해야', '', text)
|
865
858
|
text = re.sub('카시야스', '', text)
|
866
859
|
text = re.sub('야스톤', '', text)
|
860
|
+
text = re.sub('유니섹스', '', text)
|
867
861
|
text = re.sub("[^가-힣]", "", text)
|
868
862
|
sex = ["섹스", "섻", "쉑스", "섿스", "섹그", "야스", "색스", "셱스", "섁스", "세엑스", "썩스", "섹수", "섹파", "섹하자", "쉐스", "쉑스", "쉐엑스", "색수", "세엑수우", "섹하고",
|
869
863
|
"섹하구", "섹하자", "섹하장", "섹하쟈", "섹한번", "쌕스"]
|
@@ -1182,6 +1176,7 @@ def general(text:str, id: int=None):
|
|
1182
1176
|
text = re.sub('🅢', 's', text)
|
1183
1177
|
text = re.sub('🆂', 's', text)
|
1184
1178
|
text = re.sub('🅂', 's', text)
|
1179
|
+
text = re.sub('𝑺', 's', text)
|
1185
1180
|
text = re.sub('𝖾', 'e', text)
|
1186
1181
|
text = re.sub('𝘦', 'e', text)
|
1187
1182
|
text = re.sub('𝙚', 'e', text)
|
@@ -1358,13 +1353,14 @@ def general(text:str, id: int=None):
|
|
1358
1353
|
text = re.sub("[^ㄱ-힣]", "", text)
|
1359
1354
|
fuck = ["시ㅂ", "시ㅏㄹ", "씨ㅂ", "씨ㅏㄹ", "ㅣ발", "ㅆ발", "ㅅ발", "ㅅㅂ", "ㅆㅂ", "ㅆ바", "ㅅ바",
|
1360
1355
|
"시ㅂㅏ", "ㅅㅂㅏ", "시ㅏㄹ", "씨ㅏㄹ", "ㅅ불", "ㅆ불", "ㅅ쁠", "ㅆ뿔", "ㅆㅣ발", "ㅅㅟ발", "ㅅㅣㅂㅏ",
|
1361
|
-
"ㅣ바알", "ㅅ벌", "^^ㅣ벌", "ㅆ삐라", "씨ㅃ"]
|
1356
|
+
"ㅣ바알", "ㅅ벌", "^^ㅣ벌", "ㅆ삐라", "씨ㅃ", "^^/발"]
|
1362
1357
|
for i in fuck:
|
1363
1358
|
if i in text:
|
1364
1359
|
return True
|
1365
1360
|
|
1366
1361
|
text = re.sub('다시 방', '', text)
|
1367
1362
|
text = re.sub('다시 불러', '', text)
|
1363
|
+
text = re.sub('불러드', '', text)
|
1368
1364
|
text = re.sub('시발음', '', text)
|
1369
1365
|
text = re.sub('시발택시', '', text)
|
1370
1366
|
text = re.sub('시발자동차', '', text)
|
@@ -1446,6 +1442,7 @@ def general(text:str, id: int=None):
|
|
1446
1442
|
text = re.sub('의', '', text)
|
1447
1443
|
text = re.sub('하시바라 이노스케', '', text)
|
1448
1444
|
text = re.sub("[^가-힣]", "", text)
|
1445
|
+
text = re.sub('즉시발급', '', text)
|
1449
1446
|
text = re.sub('련', '놈', text)
|
1450
1447
|
text = re.sub('뇬', '놈', text)
|
1451
1448
|
text = re.sub('놈', '놈', text)
|
@@ -1622,6 +1619,7 @@ def general(text:str, id: int=None):
|
|
1622
1619
|
text = re.sub('키보드', '', text)
|
1623
1620
|
text = re.sub('새끼손', '', text)
|
1624
1621
|
text = re.sub('셰리프', '', text)
|
1622
|
+
text = re.sub('로쉐리', '', text)
|
1625
1623
|
sonofbitch = ["새끼", "쉐리", "쌔끼", "썌끼", "쎼끼", "쌬끼", "샠끼", "세끼", "샊", "쌖", "섺", "쎆", "십새", "새키", "씹색", "새까", "새꺄",
|
1626
1624
|
"새뀌", "새끠", "새캬", "색꺄", "색끼", "섹히", "셁기", "셁끼", "셐기", "셰끼", "셰리", "쉐꺄", "십색꺄", "십떼끼", "십데꺄", "십때끼", "십새꺄", "십새캬", "쉑히"]
|
1627
1625
|
for i in sonofbitch:
|
@@ -1795,20 +1793,6 @@ def minor(text:str, id: int=None):
|
|
1795
1793
|
if i in text:
|
1796
1794
|
return True
|
1797
1795
|
|
1798
|
-
text = re.sub("[^ㄱ-힣]", "", text)
|
1799
|
-
picking = ["ㅈㄴ", "ㅈ나", "존ㄴ", "존맛"]
|
1800
|
-
for i in picking:
|
1801
|
-
if i in text:
|
1802
|
-
return True
|
1803
|
-
text = re.sub("그만 졸라", "", text)
|
1804
|
-
text = re.sub("[^가-힣]", "", text)
|
1805
|
-
text = re.sub("졸라서", "", text)
|
1806
|
-
text = re.sub("졸라맨", "", text)
|
1807
|
-
picking = ["존나", "존내", "쫀나", "존네","줜나"]
|
1808
|
-
for i in picking:
|
1809
|
-
if i in text:
|
1810
|
-
return True
|
1811
|
-
|
1812
1796
|
text = re.sub("[^가-힣]", "", newtext)
|
1813
1797
|
text = re.sub("뒤져봐야", "", text)
|
1814
1798
|
text = re.sub("뒤질뻔", "", text)
|
@@ -1852,6 +1836,7 @@ def sexual(text:str, id: int=None):
|
|
1852
1836
|
text = re.sub('🅢', 's', text)
|
1853
1837
|
text = re.sub('🆂', 's', text)
|
1854
1838
|
text = re.sub('🅂', 's', text)
|
1839
|
+
text = re.sub('𝑺', 's', text)
|
1855
1840
|
text = re.sub('𝖾', 'e', text)
|
1856
1841
|
text = re.sub('𝘦', 'e', text)
|
1857
1842
|
text = re.sub('𝙚', 'e', text)
|
@@ -1934,6 +1919,7 @@ def sexual(text:str, id: int=None):
|
|
1934
1919
|
text = re.sub('게 보지', '', text)
|
1935
1920
|
text = re.sub("[^ㄱ-힣]", "", text)
|
1936
1921
|
text = re.sub('보g', '보지', text)
|
1922
|
+
text = re.sub('하나보지', '', text)
|
1937
1923
|
text = re.sub('켜보지', '', text)
|
1938
1924
|
text = re.sub('보지맙', '', text)
|
1939
1925
|
text = re.sub('초보지', '', text)
|
@@ -2003,6 +1989,7 @@ def sexual(text:str, id: int=None):
|
|
2003
1989
|
text = re.sub('자지금', '', text)
|
2004
1990
|
text = re.sub("[^ㄱ-힣]", "", text)
|
2005
1991
|
text = re.sub('자지않', '', text)
|
1992
|
+
text = re.sub('어케자지', '', text)
|
2006
1993
|
text = re.sub('자지도마', '', text)
|
2007
1994
|
text = re.sub('자지는않', '', text)
|
2008
1995
|
text = re.sub('자지좀마', '', text)
|
@@ -2080,6 +2067,7 @@ def sexual(text:str, id: int=None):
|
|
2080
2067
|
text = re.sub('해야', '', text)
|
2081
2068
|
text = re.sub('카시야스', '', text)
|
2082
2069
|
text = re.sub('야스톤', '', text)
|
2070
|
+
text = re.sub('유니섹스', '', text)
|
2083
2071
|
text = re.sub("[^가-힣]", "", text)
|
2084
2072
|
sex = ["섹스", "섻", "쉑스", "섿스", "섹그", "야스", "색스", "셱스", "섁스", "세엑스", "썩스", "섹수", "섹파", "섹하자", "쉐스", "쉑스", "쉐엑스", "색수", "세엑수우", "섹하고",
|
2085
2073
|
"섹하구", "섹하자", "섹하장", "섹하쟈", "섹한번", "쌕스"]
|
@@ -2336,6 +2324,7 @@ def english(text:str, id: int=None):
|
|
2336
2324
|
text = re.sub('🅢', 's', text)
|
2337
2325
|
text = re.sub('🆂', 's', text)
|
2338
2326
|
text = re.sub('🅂', 's', text)
|
2327
|
+
text = re.sub('𝑺', 's', text)
|
2339
2328
|
text = re.sub('𝖾', 'e', text)
|
2340
2329
|
text = re.sub('𝘦', 'e', text)
|
2341
2330
|
text = re.sub('𝙚', 'e', text)
|
@@ -2440,6 +2429,7 @@ def chinese(text:str, id: int=None):
|
|
2440
2429
|
text = re.sub('🅢', 's', text)
|
2441
2430
|
text = re.sub('🆂', 's', text)
|
2442
2431
|
text = re.sub('🅂', 's', text)
|
2432
|
+
text = re.sub('𝑺', 's', text)
|
2443
2433
|
text = re.sub('𝖾', 'e', text)
|
2444
2434
|
text = re.sub('𝘦', 'e', text)
|
2445
2435
|
text = re.sub('𝙚', 'e', text)
|
@@ -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=
|
8
|
+
korcen/korcen.py,sha256=Ax2CQPeGAQ2MssStQPZh---DV_niZnAWfmQtX4OzCyU,152487
|
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
|
-
korcen-0.3.
|
17
|
-
korcen-0.3.
|
18
|
-
korcen-0.3.
|
15
|
+
korcen-0.3.10.dist-info/METADATA,sha256=Yd2bmb7B81KqLZmGCND1NS9HEhhya15N5tP4gYk2Frk,466
|
16
|
+
korcen-0.3.10.dist-info/WHEEL,sha256=oiQVh_5PnQM0E3gPdiz09WCNmwiHDMaGer_elqB3coM,92
|
17
|
+
korcen-0.3.10.dist-info/top_level.txt,sha256=2LtNKXroHMOGgMokwiUPWwsJt5kmJ7yhkZ4bmtROZ5c,7
|
18
|
+
korcen-0.3.10.dist-info/RECORD,,
|
File without changes
|