http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7445

Fridolyn SOMERS <fridolyn.som...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |fridolyn.som...@gmail.com

--- Comment #6 from Fridolyn SOMERS <fridolyn.som...@gmail.com> 2012-01-27 
09:28:32 UTC ---
(In reply to comment #5)
> 
> 1. These "long" language codes need to be reduced to two-letter codes that
> Lingua::Stem::Snowball will accept. 


I confirm Lingua::Stem::Snowball needs a 2-characters lang.

It can be simply corrected in Search.pm : 
my $stemmer = Lingua::Stem::Snowball->new( lang => lc(substr($lang, 0, 2)),
encoding => "UTF-8" );

See :
http://annocpan.org/~CREAMYG/Lingua-Stem-Snowball-0.952/lib/Lingua/Stem/Snowball.pm

(Sorry, I don't have time to create a patch).

-- 
Configure bugmail: 
http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to