# Segmentation fault while combing stopfilter and stem filter

**URL:** <https://www.ruby-forum.com/t/segmentation-fault-while-combing-stopfilter-and-stem-filter/152100>\
**Category:** Ferret\
**Created:** [October 30, 2008, 4:36am UTC](https://www.ruby-forum.com/t/segmentation-fault-while-combing-stopfilter-and-stem-filter/152100 "2008-10-30T04:36:48Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![lyes](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/l/ed8c4c/32.png) [@lyes](https://www.ruby-forum.com/u/lyes)\
**Post date:** [October 30, 2008, 4:36am UTC](https://www.ruby-forum.com/t/segmentation-fault-while-combing-stopfilter-and-stem-filter/152100/1 "2008-10-30T04:36:48Z")

</div>

Hi list

I’ve made a personal analyzer that combine the stemming and the stop  
words  
filtering,  
my indexing works fine for a while, but it crashes with a segmentation  
fault

when I use the stemming alone, it works very fine

may I have some help

thanks

this is the declaration of my analyzer

class ContentAnalyzer \< StandardAnalyzer

def initialize()  
@stop\_words = FULL\_FRENCH\_STOP\_WORDS  
end

def token\_stream(field, input)  
Ferret::Analysis::StemFilter.new(super, “french”)  
end

end

PS: I’ve seen this integration in mailing lists, it will be familiar for  
somones.

Where is my mistake
