Closed (fixed)
Project:
Snowball Stemmer
Version:
2.0.0
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
8 Apr 2022 at 09:45 UTC
Updated:
23 Dec 2022 at 10:04 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
thomas bosviel commentedComment #4
thomas bosviel commentedComment #5
ekes commentedThis would make the processor always visible even when there is no supported language. Looking at the inherited class it has:
So something similar but requesting the language from the stemmer class and if one is matched returning TRUE might make the most sense? Related to looking up languages that are available: #3270721: Does not work with Norwegian, Norwegian and Portuguese differing language codes.
Comment #6
ekes commentedI've pushed a fix for this, checking the available languages, into the 2.x branch.
If someone wants to test, for example by `composer require drupal/snowball_stemmer:2.x-dev` and confirm I'll make a new release.
Comment #7
asterovim commentedHello ekes. I confirm, the patch work's ! thanks you.
Comment #8
ekes commented@Asterovim thanks for the review. It's in the 2.1.0 release.