Commit 4881473c2a78b49163677989c73d7e31616bd907
1 parent
04f372f4
Exists in
master
and in
1 other branch
Corrige função de lower no alexp
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
src/alexp.py
... | ... | @@ -60,7 +60,7 @@ def etiquetaSentenca(s): |
60 | 60 | anotada_corrigida = [] |
61 | 61 | for x in anotada: |
62 | 62 | if x[1] not in tag_punctuation: |
63 | - if x[1] == "NUM": | |
63 | + if x[1] == "NUM" and x[1].isdigit(): | |
64 | 64 | anotada_corrigida.append(x) |
65 | 65 | continue |
66 | 66 | tupla = [regex.sub('',x[0]).lower(),x[1]] | ... | ... |