détection de négation fonctionne mieux

This commit is contained in:
François Pelletier 2019-11-03 13:49:41 -05:00
parent 7f8e0e0354
commit 3be1bd1aab

View file

@ -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: