From 5fbb9991895180c92b27d6114062aa342b827dd5 Mon Sep 17 00:00:00 2001 From: sirstudly Date: Wed, 17 Jul 2024 22:54:14 +0100 Subject: [PATCH] Issue 529: Update default character replacement to better handle punctuation --- releases/__init__.py | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/releases/__init__.py b/releases/__init__.py index d10e5724..23077de4 100644 --- a/releases/__init__.py +++ b/releases/__init__.py @@ -49,6 +49,7 @@ class rename: ['à', 'a'], ['ö', 'oe'], ['ô', 'o'], + ['ō', 'o'], ['ß', 'ss'], ['é', 'e'], ['è', 'e'], @@ -56,16 +57,16 @@ class rename: ['sh!t', 'shit'], ['f**k', 'fuck'], ['f**king', 'fucking'], - [':', ''], + ['?', ''], + [':', '.?'], ['(', ''], [')', ''], ['`', ''], ['´', ''], [',', ''], - ['!', ''], - ['?', ''], + ['!', '.?'], [' - ', ' '], - ["'", ''], + ["'", '.?'], ["\u200b", ''], ['*', ''], [' ', '.']