Only remove double quotes

merge-requests/26/head
Bob Mottram 2021-10-14 18:26:24 +01:00
parent 21d6732f7d
commit 5804034ece
1 changed files with 1 additions and 1 deletions

View File

@ -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, ' ')