From b5b93feda556e94e4384ef3b90fdadf58b0c25ce Mon Sep 17 00:00:00 2001 From: EPedrotti Date: Fri, 4 Jan 2019 16:29:13 +0100 Subject: [PATCH] fixes error in logical condition in do_extractors_support_overlap --- rasa_nlu/evaluate.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rasa_nlu/evaluate.py b/rasa_nlu/evaluate.py index 76ae42c7c43a..c61b55702d75 100644 --- a/rasa_nlu/evaluate.py +++ b/rasa_nlu/evaluate.py @@ -486,7 +486,7 @@ def determine_token_labels(token, entities, extractors): def do_extractors_support_overlap(extractors): """Checks if extractors support overlapping entities """ - return extractors is not None and not ( + return extractors is None or not ( CRFEntityExtractor.name in extractors)