-
Notifications
You must be signed in to change notification settings - Fork 721
Adding Control for Annotators with One Column #12997
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
Adding Control for Annotators with One Column #12997
Conversation
…umn in Python side
Understanding the Current Solution
That means if I did something like this:
When that is executed, only results for My Proposed Solution Why? @danilojsl - Let me know what you think. |
Hi @dataanalyst4lyfe |
…es in annotators for Python
@maziyarpanahi, I made the changes to raise an exception when the number of columns is different than expected. So, now the behavior will be synced with Scala |
Thanks @danilojsl the new |
Pull Request Test Coverage Report for Build 3421214687
💛 - Coveralls |
Description
Adds inputAnnotatorTypes in Python to identify annotators that expect only one column. This allows handling more than one-column inputs in annotators that only process one column by taking only the first one and ignoring the other columns.
Motivation and Context
Check issue #12981
How Has This Been Tested?
Screenshots (if appropriate):
Types of changes
Checklist: