I tried to develop a stemmer for Italian, but the bot is much slower. What am I doing wrong?
Debugging the code, I saw that the stemmer is called for each expression present in the siml for each message, is it correct?
My stemmer:
public class ItalianStemmer : StemmerOperations, Syn.Bot.Oscova.Interfaces.IStemmer
{
Annytab.Stemmer.IStemmer stemmer = new Annytab.Stemmer.ItalianStemmer();
public string Stem(string word)
{
return stemmer.GetSteamWord(word);
}
}