From 234883eba6d338fda81d5f00ce89835b5f934b62 Mon Sep 17 00:00:00 2001 From: Ryszard Staruch Date: Wed, 23 Oct 2024 15:14:40 +0200 Subject: [PATCH] Modify examples --- examples.ipynb | 4 ---- 1 file changed, 4 deletions(-) diff --git a/examples.ipynb b/examples.ipynb index f7ed11b..7b570e2 100644 --- a/examples.ipynb +++ b/examples.ipynb @@ -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",