Commit b55aab93573f390ad03dcf577c68f2678eea8c4c
1 parent
63bd92ec
Exists in
devel
Remove uso do dicionário de sinônimos
Showing
2 changed files
with
3 additions
and
2 deletions
Show diff stats
data/sinonimos.csv
src/AplicaSinonimos.py
... | ... | @@ -32,7 +32,8 @@ class AplicaSinonimos(object): |
32 | 32 | ''' |
33 | 33 | lista_corrigida = [] |
34 | 34 | for tupla in lista_anotada: |
35 | - sinonimo = self.verificar_sinonimo(tupla[0].upper()) | |
35 | + sinonimo = tupla[0].upper() | |
36 | + #sinonimo = self.verificar_sinonimo(tupla[0].upper()) | |
36 | 37 | if tupla[1] == "NUM" or tupla[1] == "NUM-R": |
37 | 38 | if self.verificar_ordinal(sinonimo): |
38 | 39 | ordinal = self.get_ordinal_extenso(sinonimo) | ... | ... |