mirror of https://gitlab.com/bashrc2/epicyon
Extra character to avoid
parent
df2a947516
commit
6826fed2e9
4
posts.py
4
posts.py
|
@ -508,7 +508,8 @@ def _getCommonWords() -> str:
|
||||||
'making', 'made', 'make', 'makes', 'including',
|
'making', 'made', 'make', 'makes', 'including',
|
||||||
'includes', 'know', 'knowing', 'knows', 'things',
|
'includes', 'know', 'knowing', 'knows', 'things',
|
||||||
'say', 'says', 'saying', 'many', 'somewhat',
|
'say', 'says', 'saying', 'many', 'somewhat',
|
||||||
'problem', 'problems', 'idea', 'ideas'
|
'problem', 'problems', 'idea', 'ideas',
|
||||||
|
'using', 'uses'
|
||||||
)
|
)
|
||||||
|
|
||||||
def _updateWordFrequency(content: str, wordFrequency: {}) -> None:
|
def _updateWordFrequency(content: str, wordFrequency: {}) -> None:
|
||||||
|
@ -531,6 +532,7 @@ def _updateWordFrequency(content: str, wordFrequency: {}) -> None:
|
||||||
if '&' in word or \
|
if '&' in word or \
|
||||||
'"' in word or \
|
'"' in word or \
|
||||||
'@' in word or \
|
'@' in word or \
|
||||||
|
"'" in word or \
|
||||||
'://' in word:
|
'://' in word:
|
||||||
continue
|
continue
|
||||||
if word.lower() in commonWords:
|
if word.lower() in commonWords:
|
||||||
|
|
Loading…
Reference in New Issue