[Snowball-discuss] Testing Turkish Stemmer

From: Evren Kapusuz (evren.kapusuz@gmail.com)
Date: Fri Jan 19 2007 - 16:22:51 GMT


Ayhan wrote:
>Hi there,
>I just wanted to test the stemmer.
>Am I right to think that there is not a "public String stem(String
>word){" method?
>Is it just a snowball -java generation mistake?
>Best Regards

>Ayhan Peker

Hi Ayhan,
There is a public boolean stem() method.
You can use it as (by calling other helper methods from the parent class):
stemmer.setCurrent(word);
stemmer.stem();
String stemOfTheWord = stemmer.getCurrent();

You can test it this way,
I am looking forward to your comments,
Evren



This archive was generated by hypermail 2.1.3 : Thu Sep 20 2007 - 12:02:48 BST