[Snowball-discuss] Testing Turkish Stemmer

Evren Kapusuz evren.kapusuz at gmail.com
Fri Jan 19 16:22:51 GMT 2007


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.tartarus.org/mailman/private/snowball-discuss/attachments/20070119/60cef3df/attachment.htm


More information about the Snowball-discuss mailing list