Skip to content

Commit

Permalink
fixes error in logical condition in do_extractors_support_overlap
Browse files Browse the repository at this point in the history
  • Loading branch information
EPedrotti committed Jan 4, 2019
1 parent c1bc17d commit b5b93fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rasa_nlu/evaluate.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)


Expand Down

0 comments on commit b5b93fe

Please sign in to comment.