Commit a62e8eefcaf88f185ec2af1e27a4118304e36abb

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

Corrige falha no Simplificador ao verificar algarismos romanos

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
src/Simplificador.py
... ... @@ -34,7 +34,7 @@ class Simplificador(object):
34 34 t = self.it.getAtualT()
35 35 self.__b = False
36 36 if self.__dicWords.has_key(t) == False: # verifica se nao eh artigo/preposicao
37   - wu = w.upper() # deixa o token maiusculo
  37 + wu = str(w).upper() # deixa o token maiusculo
38 38 #if t[:2] == "VB":
39 39 if t[-2:] == "-P":
40 40 wu = self.pluralAnalysis(w)
... ...