Skip to content

Comments

Feat: Setting to allow disabling stemming#36

Open
HEmile wants to merge 7 commits intohadynz:masterfrom
HEmile:master
Open

Feat: Setting to allow disabling stemming#36
HEmile wants to merge 7 commits intohadynz:masterfrom
HEmile:master

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.

1 participant