Commit ec2e6194156f110ca1bda5ad46eaa97e63064174
1 parent
76403d26
Exists in
master
and in
1 other branch
Não converte plural para singular caso seja nome próprio
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
src/AplicaRegras.py
... | ... | @@ -403,7 +403,7 @@ class AplicaRegras(object): |
403 | 403 | pass |
404 | 404 | num = True |
405 | 405 | |
406 | - if tag[-2:] == "-P" or tag[-2:] == "_P" and self.verificar_excecao_plural(it.get_word()): | |
406 | + if tag != "NPR-P" and tag[-2:] == "-P" or tag[-2:] == "_P" and self.verificar_excecao_plural(it.get_word()): | |
407 | 407 | singular = self.analisar_plural(it.get_word()) |
408 | 408 | lista_simplificada[it.get_count()][0] = singular |
409 | 409 | ... | ... |