mginoben commited on
Commit
d9ea7b2
·
1 Parent(s): 33125f0

Fixed english lookup bug

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -49,7 +49,7 @@ def fuzzy_lookup(tweet):
49
 
50
  for word in tweet.split():
51
  if word in list(set(eng_words) - set(lookup_profanity)):
52
- break
53
  scores = []
54
  matched_words = []
55
  word = word.strip(punctuation)
 
49
 
50
  for word in tweet.split():
51
  if word in list(set(eng_words) - set(lookup_profanity)):
52
+ continue
53
  scores = []
54
  matched_words = []
55
  word = word.strip(punctuation)