mirror of https://gitlab.com/bashrc2/epicyon
Remove quotes
parent
27c99f1900
commit
21d6732f7d
|
@ -1152,7 +1152,7 @@ def _wordsSimilarityHistogram(words: []) -> {}:
|
||||||
def _wordsSimilarityWordsList(content: str) -> []:
|
def _wordsSimilarityWordsList(content: str) -> []:
|
||||||
"""Returns a list of words for the given content
|
"""Returns a list of words for the given content
|
||||||
"""
|
"""
|
||||||
removePunctuation = ('.', ',', ';', '-', ':')
|
removePunctuation = ('.', ',', ';', '-', ':', '"', "'")
|
||||||
content = removeHtml(content).lower()
|
content = removeHtml(content).lower()
|
||||||
for p in removePunctuation:
|
for p in removePunctuation:
|
||||||
content = content.replace(p, ' ')
|
content = content.replace(p, ' ')
|
||||||
|
|
Loading…
Reference in New Issue