Spaces:
Sleeping
Sleeping
app modified
Browse files
app.py
CHANGED
@@ -348,14 +348,14 @@ class ModeloDataset:
|
|
348 |
|
349 |
|
350 |
|
351 |
-
|
352 |
-
|
353 |
-
|
354 |
-
|
355 |
-
|
356 |
-
|
357 |
-
|
358 |
-
|
359 |
|
360 |
#for item in _predicted_tokens_classes:
|
361 |
# new_identificadores.append(self.reordenacion_identificadores(ig_tok,item))
|
|
|
348 |
|
349 |
|
350 |
|
351 |
+
new_tokens=[]
|
352 |
+
ig_tok=[]
|
353 |
+
new_identificadores=[]
|
354 |
+
for item in tokenized_text:
|
355 |
+
aux1, aux2= self.reordenacion_tokens(item)
|
356 |
+
new_tokens.append(aux1)
|
357 |
+
ig_tok.append(aux2)
|
358 |
+
print('new_tokens',new_tokens)
|
359 |
|
360 |
#for item in _predicted_tokens_classes:
|
361 |
# new_identificadores.append(self.reordenacion_identificadores(ig_tok,item))
|