Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
Lucene.Net 2.9.4g
Description
The following code fails with a ArgumentOutOfRangeException in line 467 of "\src\contrib\Snowball\SF\Snowball\SnowballProgram.cs":
var stemmer = new DanishStemmer();
stemmer.SetCurrent("heste");
stemmer.Stem();
Console.WriteLine(stemmer.GetCurrent());
Expected: Output "hest" to console.
Possible fix: Seems like the line should have been
s.Append(current.ToString(bra, len));
instead of:
s.Append(current.ToString(bra, ket));
Attachments
Issue Links
- duplicates
-
LUCENENET-54 ArgumentOurOfRangeException caused by SF.Snowball.Ext.DanishStemmer
- Resolved