From 3be1bd1aab99c7845328915a2c90de6954923554 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Pelletier?= Date: Sun, 3 Nov 2019 13:49:41 -0500 Subject: [PATCH] =?UTF-8?q?d=C3=A9tection=20de=20n=C3=A9gation=20fonctionn?= =?UTF-8?q?e=20mieux?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- negation_conversion.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/negation_conversion.py b/negation_conversion.py index 0dd6b2a..0ec7e36 100644 --- a/negation_conversion.py +++ b/negation_conversion.py @@ -46,7 +46,7 @@ def negative_scope_pos(pos_list): not_dummy = False for pos_word in pos_list: # Fin du scope - if pos_word[1] in ['IN','CC','WDT'] and not_dummy==True and len(scope_pos_list)>0: + if pos_word[1] in ['WDT'] and not_dummy==True and len(scope_pos_list)>0: not_dummy = False # Intérieur du scope if not_dummy==True: