another porter stemming algorithm implementation question ?

Posted by mike on Stack Overflow See other posts from Stack Overflow or by mike
Published on 2010-12-23T23:33:40Z Indexed on 2010/12/23 23:54 UTC
Read the original article Hit count: 491

Filed under:
|
|

Hi, I am trying to implement porter stemming algorithm, but i am having difficualties understanding this point

Step 1c

(*v*) Y -> I                    happy        ->  happi
                                sky          ->  sky

Isn't that the the opposite of what we want to do , why does the algorithim convert the Y into I.

for the complete algorithm here http://tartarus.org/~martin/PorterStemmer/def.txt

Thanks

© Stack Overflow or respective owner

Related posts about algorithm

Related posts about nlp