From 337d8dc28f41f18fe8c820f6746be803d29538d3 Mon Sep 17 00:00:00 2001 From: Vinícius Matheus Date: Fri, 31 Mar 2017 12:52:53 -0300 Subject: [PATCH] Fix plural 'ses' --- src/AplicaRegras.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/AplicaRegras.py b/src/AplicaRegras.py index 4780e0c..8ffcbb1 100644 --- a/src/AplicaRegras.py +++ b/src/AplicaRegras.py @@ -440,8 +440,8 @@ class AplicaRegras(object): elif(token[-3:] == "ses"): #TODO: Algumas palavras possuem marcações gráficas na raiz singular. Ex: Gás – Gases if token[-4] not in vogais: - return token[:-1] - return token[:-2] + return token[:-2] + return token[:-1] elif(token[-2:] == "ns"): return token[0:-2]+"m" elif(token[-3:] == "eis"): -- libgit2 0.21.2