Re: Modifying StopAnalyzer

2007-12-26 Thread Doron Cohen
> > can we modify the StopyAnalyzer to insert Stop Words of > another language, instead of English, like Urdu given below: > public static final String[] URDU_STOP_WORDS = { "پر", "کا", "کی", "کو" }; > "new StandardAnalyzer(URDU_STOP_WORDS)" should work. Regards, Doron

Modifying StopAnalyzer

2007-12-26 Thread Liaqat Ali
Hi, Erick Thanks for your suggestion, putting the declaration of StringBuffer variable sb inside the for loop is working well. I want to ask another question, can we modify the StopyAnalyzer to insert Stop Words of another language, instead of English, like Urdu given below: public stati