u4_repair_2_3

This commit is contained in:
Martin Škovran 2026-10-05 22:47:14 +02:00
parent 9847f3cf6e
commit 37e465da2d

View File

@ -6,7 +6,7 @@ def count_words(sentance: str) -> dict:
SPECIAL_CHAR = oct(7)
delims = [":", "?", "!", "\n", "\t", ",", ".", "_"]
delims = [":", "?", "!", "\n", "\t", ",", ".", "_", '&', '@', '$', '%', '^', '&']
del_chars = ['"']
forbidden = delims + del_chars + [" ", "'", ""]