asritha22bce commited on
Commit
58cc55a
·
verified ·
1 Parent(s): 18dfdb0

Update preprocessing.py

Browse files
Files changed (1) hide show
  1. preprocessing.py +1 -1
preprocessing.py CHANGED
@@ -67,7 +67,7 @@ class NegativeWordReplacer:
67
  replacement = replacement.capitalize()
68
 
69
  new_tokens.append(replacement)
70
- elif pos in ["adjective", "adverb"]:
71
  continue # Remove exaggerated words
72
  else:
73
  new_tokens.append(token.text)
 
67
  replacement = replacement.capitalize()
68
 
69
  new_tokens.append(replacement)
70
+ elif pos in ["adjective"]:
71
  continue # Remove exaggerated words
72
  else:
73
  new_tokens.append(token.text)