update comment padding

This commit is contained in:
Mylloon 2022-08-08 02:51:58 +02:00
parent 95f2fe551d
commit a0032708af
Signed by: Anri
GPG key ID: A82D63DFF8D1317F

View file

@ -66,7 +66,7 @@ def cleanTweet(tweet: str) -> str:
tweet = sub(r"\S+(?=si|ci)", " ", tweet) tweet = sub(r"\S+(?=si|ci)", " ", tweet)
# Remove key smashing in certains words # Remove key smashing in certains words
# uiii naaaan quoiiii noooon heiiin siiii # uiii naaaan quoiiii noooon heiiin siiii
tweet = sub( tweet = sub(
r"(?<=ui)i+|(?<=na)a+(?<!n)|(?<=quoi)i+|(?<=no)o+(?<!n)|(?<=hei)i+(?<!n)|(?<=si)i+", "", tweet) r"(?<=ui)i+|(?<=na)a+(?<!n)|(?<=quoi)i+|(?<=no)o+(?<!n)|(?<=hei)i+(?<!n)|(?<=si)i+", "", tweet)