From 5804034ece8381ba904f6fce04615e83321d9ef0 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Thu, 14 Oct 2021 18:26:24 +0100 Subject: [PATCH] Only remove double quotes --- content.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content.py b/content.py index fab79ff20..f824cc053 100644 --- a/content.py +++ b/content.py @@ -1152,7 +1152,7 @@ def _wordsSimilarityHistogram(words: []) -> {}: def _wordsSimilarityWordsList(content: str) -> []: """Returns a list of words for the given content """ - removePunctuation = ('.', ',', ';', '-', ':', '"', "'") + removePunctuation = ('.', ',', ';', '-', ':', '"') content = removeHtml(content).lower() for p in removePunctuation: content = content.replace(p, ' ')