Fixed english lookup bug
Browse files
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 |
-
|
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)
|