From ec2e6194156f110ca1bda5ad46eaa97e63064174 Mon Sep 17 00:00:00 2001 From: Erickson Silva Date: Thu, 12 Nov 2015 09:36:45 -0300 Subject: [PATCH] Não converte plural para singular caso seja nome próprio --- src/AplicaRegras.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/AplicaRegras.py b/src/AplicaRegras.py index a083958..4b89a4e 100644 --- a/src/AplicaRegras.py +++ b/src/AplicaRegras.py @@ -403,7 +403,7 @@ class AplicaRegras(object): pass num = True - if tag[-2:] == "-P" or tag[-2:] == "_P" and self.verificar_excecao_plural(it.get_word()): + if tag != "NPR-P" and tag[-2:] == "-P" or tag[-2:] == "_P" and self.verificar_excecao_plural(it.get_word()): singular = self.analisar_plural(it.get_word()) lista_simplificada[it.get_count()][0] = singular -- libgit2 0.21.2