Commit 6e5cd685879a55744b3f87b23c77ab415749d480
1 parent
72c1d5b3
Exists in
master
and in
1 other branch
Mantém glosa sem acento
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
src/TraduzSentencas.py
... | ... | @@ -54,7 +54,7 @@ class TraduzSentencas(object): |
54 | 54 | if taxa: |
55 | 55 | taxa_qualidade = self.gerar_metrica_qualidade(sentenca_corrigida) |
56 | 56 | return {'glosa':glosa_sem_acentos, 'taxa':taxa_qualidade, 'sintatica':has_sintatica} |
57 | - return glosa.upper().encode('utf-8') | |
57 | + return self.aplic_regras.remover_acento(glosa).upper().encode('utf-8') | |
58 | 58 | return "TEXTO ERRADO ESCOLHER OUTRO" |
59 | 59 | |
60 | 60 | ... | ... |