From e23c42416244f069411a8d9a762edd8781bc7997 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Fri, 23 Jul 2021 13:08:17 +0100 Subject: [PATCH] Extra word exclusion --- posts.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/posts.py b/posts.py index 614d790b0..f2d3aae8d 100644 --- a/posts.py +++ b/posts.py @@ -533,7 +533,8 @@ def _updateWordFrequency(content: str, wordFrequency: {}) -> None: '"' in word or \ '@' in word or \ "'" in word or \ - '://' in word: + "--" in word or \ + '//' in word: continue if word.lower() in commonWords: continue