Skip to content

Commit

Permalink
out with vs for Patents
Browse files Browse the repository at this point in the history
Only false positives lately, and we have vs...live for all sites, anyway.
  • Loading branch information
normalhuman committed Jan 28, 2016
1 parent c2b47e5 commit 4d90267
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions findspam.py
Expand Up @@ -380,8 +380,6 @@ class FindSpam:
# Bad health-related keywords in titles and posts, health sites are exempt
{'regex': ur"(?is)virility|diet ?(plan|pill)|\b(pro)?derma(?=[a-su-z ]\w)|(fat|(?<!dead[ -]?)weight)[ -]?(loo?s[es]|reduction)|loo?s[es] ?weight|\bherpes\b|(?<!truth )serum|colon (detox|clean)|\bpenis\b", 'all': True,
'sites': ["fitness.stackexchange.com", "biology.stackexchange.com", "health.stackexchange.com", "skeptics.stackexchange.com", "bicycles.stackexchange.com", "islam.stackexchange.com"], 'reason': "bad keyword in {}", 'title': True, 'body': True, 'username': False, 'stripcodeblocks': True, 'body_summary': True, 'max_rep': 11, 'max_score': 0},
# "vs" in titles, for sports events, Patents only
{'regex': u"(?i)vs", 'all': False, 'sites': ["patents.stackexchange.com"], 'reason': "bad keyword in {}", 'title': True, 'body': False, 'username': False, 'stripcodeblocks': False, 'body_summary': False, 'max_rep': 11, 'max_score': 0},
# Korean character in title
{'regex': ur"(?i)\p{Script=Hangul}.*\p{Script=Hangul}.*\p{Script=Hangul}", 'all': True,
'sites': [], 'reason': "Korean character in {}", 'title': True, 'body': False, 'username': False, 'stripcodeblocks': False, 'body_summary': False, 'max_rep': 11, 'max_score': 0},
Expand Down

0 comments on commit 4d90267

Please sign in to comment.