# Porter algorithm and stemming

**URL:** <https://www.ruby-forum.com/t/porter-algorithm-and-stemming/182709>\
**Category:** Ruby\
**Created:** [February 1, 2010, 7:29pm UTC](https://www.ruby-forum.com/t/porter-algorithm-and-stemming/182709 "2010-02-01T19:29:54Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![johny006](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/dfb087/32.png) [@johny006](https://www.ruby-forum.com/u/johny006)\
**Post date:** [February 1, 2010, 7:29pm UTC](https://www.ruby-forum.com/t/porter-algorithm-and-stemming/182709/1 "2010-02-01T19:29:54Z")

</div>

I’m trying to implement the porter algorithm for French words.  
It’s seem that the current implementation in the gems ruby-stemmer and  
stemmer4r are flowed.  
For instance, trying to stem  
pÃ©trolifÃ¨re =\> petrolifer whereas I’m expecting petrol or pÃ©trol

Has anyone encountered the issue and/or know a good working stemming gem  
for French words?

Thanks,

Vincent
