-
Notifications
You must be signed in to change notification settings - Fork 156
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
Feature/1856 support regex based recommendations #2000
base: main
Are you sure you want to change the base?
Feature/1856 support regex based recommendations #2000
Conversation
Pulled from original-repository to be up-to-date
- Add a first unfinished version of the regex recommender
A first running version
- fix NullPointerException when accepting/rejecting a recommendation
Can one of the admins verify this patch? |
- Every RegexRecommender now has its own RegexCounter - fixed some confusing Variable names in RegexCounter
Thanks for the PR. I have had a look at the code and it looks quite interesting. You appear to have the need to show a popup as part of accepting an annotation and that currently seems to work only if INCEpTION is run as a standalone version in a graphical desktop environment. This requirement is something I need to think about - i.e. if/how this can be handled in such a way that it works in a purely browser-based environment. |
- fix a few confusing variable names - add a few comments - now the accepted and rejected counts in the regex Counter get incremented when we accept or reject a recommendation
fix a bug that led to NoSuchElementException when accepting or rejecting a recommendation that doesn't come from regexrecommender let the old RegexCounter write its states to the gazeteer when a new RegexCounter is created.
- fix a bug that occured when more than one RegexRecommenders were used at the same time - make sure the gazeteer writes in utf-8 to avoid encoding related bugs - remove some print statements that were used for debugging
…tps://github.com/HerrKrishna/inception into feature/1856-support-regex-based-recommendations
What's in the PR
How to test manually
Bundestag_08-1.zip