wilmerags commited on
Commit
76a8518
·
1 Parent(s): 43ca75c

fix: Add return statement missing in preprocessing function

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -28,6 +28,7 @@ def _remove_unk_chars(txt_list: List[str]):
28
  txt_list = [re.sub('\s+', ' ', tweet) for tweet in txt_list]
29
  txt_list = [re.sub("\'", "", tweet) for tweet in txt_list]
30
  txt_list = [deaccent(tweet).lower() for tweet in txt_list]
 
31
 
32
  def _remove_urls(txt_list: List[str]):
33
  url_regex = re.compile(
 
28
  txt_list = [re.sub('\s+', ' ', tweet) for tweet in txt_list]
29
  txt_list = [re.sub("\'", "", tweet) for tweet in txt_list]
30
  txt_list = [deaccent(tweet).lower() for tweet in txt_list]
31
+ return txt_list
32
 
33
  def _remove_urls(txt_list: List[str]):
34
  url_regex = re.compile(