smhavens commited on
Commit
88229b0
·
1 Parent(s): 458c097

spacy working, redo normalization

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -86,7 +86,7 @@ def training():
86
 
87
  dataset_clean = {}
88
  for i in range(n_examples):
89
- dataset_clean[i]["text"] = train_data[i]["text"].apply(normalize, lowercase=True, remove_stopwords=True)
90
  dataset_clean[i]["label"] = train_data[i]["label"]
91
 
92
  for i in range(n_examples):
 
86
 
87
  dataset_clean = {}
88
  for i in range(n_examples):
89
+ dataset_clean[i]["text"] = normalize(train_data[i]["text"], lowercase=True, remove_stopwords=True)
90
  dataset_clean[i]["label"] = train_data[i]["label"]
91
 
92
  for i in range(n_examples):