wilmerags commited on
Commit
d1cba0c
·
1 Parent(s): 9d2c094

fix: Typo in preprocessing function name

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -24,7 +24,7 @@ model_to_use = {
24
  "Use all the ones you know (~15 lang)": "paraphrase-multilingual-MiniLM-L12-v2"
25
  }
26
 
27
- 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]
 
24
  "Use all the ones you know (~15 lang)": "paraphrase-multilingual-MiniLM-L12-v2"
25
  }
26
 
27
+ 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]