mginoben commited on
Commit
c96199c
1 Parent(s): 2793373

Fixed profanity with hashtag

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -65,7 +65,7 @@ def fuzzy_lookup(tweet):
65
  scores = []
66
  matched_words = []
67
 
68
- processed_word = re.sub("[^a-zA-Z0-9@]", "", word)
69
 
70
  if len(processed_word) >= 4:
71
  # Get fuzzy ratio
 
65
  scores = []
66
  matched_words = []
67
 
68
+ processed_word = re.sub("[^a-zA-Z0-9@#]", "", word)
69
 
70
  if len(processed_word) >= 4:
71
  # Get fuzzy ratio