Re: Analyzer enquiry

2011-03-14 Thread Vasiliki Gkouta
Thank you for your help! Best Regards, Vicky Quoting Erick Erickson : Nope, that should do it. Best Erick On Mon, Mar 14, 2011 at 9:35 AM, Vasiliki Gkouta wrote: Sorry for the confusion. I have two analyzers(of StandardAnalyzer) and use no stemmers. At the one analyzer I passed a german st

Re: Analyzer enquiry

2011-03-14 Thread Erick Erickson
Nope, that should do it. Best Erick On Mon, Mar 14, 2011 at 9:35 AM, Vasiliki Gkouta wrote: > Sorry for the confusion. I have two analyzers(of StandardAnalyzer) and use > no stemmers. At the one analyzer I passed a german stop words set to the > constructor and at the other one I passed an engli

Re: Analyzer enquiry

2011-03-14 Thread Vasiliki Gkouta
Sorry for the confusion. I have two analyzers(of StandardAnalyzer) and use no stemmers. At the one analyzer I passed a german stop words set to the constructor and at the other one I passed an english stop words set. My question was if I have to call any other function of the german analyze

Re: Analyzer enquiry

2011-03-14 Thread Erick Erickson
I don't understand what you're saying here. If you put a stemmer in the constructor, you *are* using it. If you don't specify any stemmer at all, you still have to define different analyzers to use different stop word lists. Can you restate your question? Best Erick On Mon, Mar 14, 2011 at 8:21

Re: Analyzer enquiry

2011-03-14 Thread Vasiliki Gkouta
Thanks a lot for your help Erick! About the fields you mentioned: If I don't use stemmers, except for the constructor argument related to the stop words, is there anything else that I have to modify? Thanks, Vicky Quoting Erick Erickson : StandardAnalyzer works well for most European lang

Re: Analyzer enquiry

2011-03-13 Thread Erick Erickson
StandardAnalyzer works well for most European languages. The problem will be stemming. Applying stemming via English rules to non-English languages produces...er...interesting results. You can go ahead and create language-specific fields for each language and use StandardAnalyzer with the appropri

Analyzer enquiry

2011-03-13 Thread Vasiliki Gkouta
Hello everybody, I have an enquiry about StandardAnalyzer. Can I use it for other languages except from English? I give the right list of stop words at initialization. Is there anything else inside the class that is by default set in English? I've found the Analyzers for other languages too