-
Notifications
You must be signed in to change notification settings - Fork 40
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
STWFSA backend returns duplicate results #478
Comments
Yes, this was recently fixed upstream. I try to get out a release this week. There are additional changes for handling of longer inputs that I want to include. |
Great to hear, thanks @mo-fu! |
Merged
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I set up a stwfsa based project using this configuration adapted from the wiki page of the STWFSA backend:
Then I trained this with stw-econbiz-small.tsv.gz from the Annif-tutorial stw-zbw data set.
When I use
annif suggest
with text that contains multiple matches for the same term, I get duplicate results:This is obviously wrong, since the list of suggestions should not contain duplicates.
Looking at this PR that was quite recently merged to stwfsapy, I think this may already have been fixed upstream. Annif would just need to switch to a newer version of stwfsapy (and such a version must be released first). Ping @mo-fu - do you agree with the analysis? Could this be fixed on the Annif side as well by upgrading stwfsapy?
The text was updated successfully, but these errors were encountered: