Commit 4881473c2a78b49163677989c73d7e31616bd907

Authored by Erickson Silva
1 parent 04f372f4
Exists in master and in 1 other branch devel

Corrige função de lower no alexp

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
@@ -60,7 +60,7 @@ def etiquetaSentenca(s): @@ -60,7 +60,7 @@ def etiquetaSentenca(s):
60 anotada_corrigida = [] 60 anotada_corrigida = []
61 for x in anotada: 61 for x in anotada:
62 if x[1] not in tag_punctuation: 62 if x[1] not in tag_punctuation:
63 - if x[1] == "NUM": 63 + if x[1] == "NUM" and x[1].isdigit():
64 anotada_corrigida.append(x) 64 anotada_corrigida.append(x)
65 continue 65 continue
66 tupla = [regex.sub('',x[0]).lower(),x[1]] 66 tupla = [regex.sub('',x[0]).lower(),x[1]]