Displaying 2 results from an estimated 2 matches for "frenchstemminganalyzer".
2007 Sep 07
5
Custom Analyser .. where to put it ??
Hi,
I m trying to use a custom analyser to add my french stop words... i m
reading the tutorial at :
http://projects.jkraemer.net/acts_as_ferret/wiki/AdvancedUsage
My problem is that i ve no idea where to put my custom Analyser class
like :
class GermanStemmingAnalyzer < Ferret::Analysis::Analyzer
include Ferret::Analysis
def initialize(stop_words = FULL_GERMAN_STOP_WORDS)
2008 May 06
0
Porblem with custom analyzer
Guillaume Guillaume wrote:
> Hi,
>
> I m trying to set French stop Words.
> So i created a file called "FrenchStemmingAnalyzer.rb" and i put it in
> /lib of my rails App.
>
You might want to follow standard naming convention and rename the file
to: ''french_stemming_analyzer.rb'' instead. Then drop a line like:
require ''lib/french_stemming_analyzer''
inside config/environmen...