Modify examples
This commit is contained in:
parent
19d1089d13
commit
234883eba6
@ -191,11 +191,7 @@
|
||||
"\n",
|
||||
" # profanities according to prof. Jerzy Bralczyk\n",
|
||||
" profanities = [ \n",
|
||||
" rf'\\b{prefixes}(kurw[aąeęyi]\\w*)|(ku(z|ź)w\\w*)|(kurew\\w*)\\b',\n",
|
||||
" rf'\\b{prefixes}(pierd\\w*)\\b',\n",
|
||||
" rf'\\b{prefixes}(chuj\\w*)\\b',\n",
|
||||
" rf'\\b{prefixes}(pizd\\w*)\\b',\n",
|
||||
" rf'\\b{prefixes}(jeb\\w*)\\b',\n",
|
||||
" ]\n",
|
||||
"\n",
|
||||
" profanity_pattern = re.compile('|'.join(profanities), re.IGNORECASE)\n",
|
||||
|
Loading…
Reference in New Issue
Block a user