mirror of https://gitlab.com/bashrc2/epicyon
Only remove double quotes
parent
21d6732f7d
commit
5804034ece
|
@ -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, ' ')
|
||||
|
|
Loading…
Reference in New Issue