Skip to content
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

Feat: Setting to allow disabling stemming #36

Open
wants to merge 7 commits into
base: master
Choose a base branch
from

Conversation

HEmile
Copy link

@HEmile HEmile commented Mar 26, 2022

As reported in #25, I had many false positives. This PR adds a setting which allows disabling the stemming feature. In my quick tests, all results I get are now true positives (that is, exact matches with something in the tags, page names and aliases).

Of course, this will not be as flexible because it will not use the automatic stemming algorithm, but I greatly prefer some false negatives above many false positives here.

This PR fixes a crash when no matching tokens can be found in mapStemToOriginalText, disabling the entire plugins functionality. Could be related to #32 and #33.

@HEmile
Copy link
Author

HEmile commented Mar 27, 2022

Couple more features added:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant