Displaying 1 result from an estimated 1 matches for "ausrei".
Did you mean:
andrei
2010 Jun 09
1
TermGenerator incorrectly tokenizes German text which contains special characters
...nerator();
#2 $lStemmer = new XapianStem(XapianHelper::GetStemmer($pLanguage)); //
?german?
#3 $lIndexer->set_stemmer($lStemmer);
#4 $lDoc = new XapianDocument();
#5 $lDoc->add_term($lObj->Id);
#6 $lIndexer->set_document($lDoc);
#7 $lIndexer->index_text("Nahrungserg?nzungsmittel Ausrei?er");
#8 $lIndexer->index_text($lSomeStringFromDb);*
In the code example just above here the problem only occurs when I try to
index text on line #8. The string which get indexed on line #7 is indexed
correctly ({Zausreiss, Znahrungserganzungsmittel, ausrei?er,
nahrungserg?nzungsmittel})....