-
Notifications
You must be signed in to change notification settings - Fork 4.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix overlapping entities #1604
Fix overlapping entities #1604
Conversation
@tmbo codeclimate is complaining about a line being more than 79 characters. Shouldn't it be set to 80? |
mhm good point, not sure - we do not have a codeclimate configuration so we rely on the defaults here atm. |
@tmbo can we merge this one even if codeclimate complains about the line lenght being 80 chars? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
functionality looks good, please take a look at the style suggestions
… into fix-overlapping-entities
Please let me know when this ready for another review (by requesting another review) |
@EPedrotti PLEASE request a new review when this is done, otherwise please state what needs to be done to get this to another review |
@tmbo I was on openshift and I didn't had to to review and to add tests |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks great. minor style commetn.
please add the change to the Changelog.rst
rasa_nlu/evaluate.py
Outdated
def do_extractors_support_overlap(extractors): | ||
"""Checks if extractors support overlapping entities | ||
""" | ||
return extractors is None or not ( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should be extractors is None or CRFEntityExtractor.name not in extractors
Code Climate has analyzed commit df507cf and detected 0 issues on this pull request. View more on Code Climate. |
Proposed changes:
Status (please check what you already did):