DanishStemmer doesn't work.
---------------------------
Key: LUCENENET-475
URL: https://issues.apache.org/jira/browse/LUCENENET-475
Project: Lucene.Net
Issue Type: Bug
Components: Lucene.Net Contrib
Affects Versions: Lucene.Net 2.9.4g
Reporter: Johannes Hansen
The following code fails with a ArgumentOutOfRangeException in line 467 of
"\src\contrib\Snowball\SF\Snowball\SnowballProgram.cs":
var stemmer = new DanishStemmer();
stemmer.SetCurrent("hest");
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));
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira